Don't send typing notif if no permission to talk

This commit is contained in:
miruka 2020-07-21 22:13:44 -04:00
parent da7417f13f
commit 7214180a66
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,6 @@
- Image viewer: - Image viewer:
- hflickable: support kinetic scrolling disabler - hflickable: support kinetic scrolling disabler
- don't send typing notif if no permission
- compress png in a thread - compress png in a thread
- ctrl+o: ignore mx-reply links - ctrl+o: ignore mx-reply links
- verify upload cancellation - verify upload cancellation

View File

@ -51,6 +51,8 @@ HTextArea {
} }
function setTyping(typing) { function setTyping(typing) {
if (! textArea.enabled) return
py.callClientCoro( py.callClientCoro(
writingUserId, "room_typing", [chat.roomId, typing, 5000], writingUserId, "room_typing", [chat.roomId, typing, 5000],
) )