Send typing notifications from sendbox

This commit is contained in:
miruka
2019-07-07 23:28:10 -04:00
parent d26f087df9
commit 4f0ba24373
2 changed files with 7 additions and 12 deletions

View File

@@ -35,9 +35,11 @@ HRectangle {
property bool textChangedSinceLostFocus: false
function setTyping(typing) {
return
Backend.clients.get(chatPage.userId)
.setTypingState(chatPage.roomId, typing)
py.callClientCoro(
chatPage.userId,
"room_typing",
[chatPage.roomId, typing, 5000]
)
}
onTextChanged: {