Don't send typing notif if no permission to talk
This commit is contained in:
parent
da7417f13f
commit
7214180a66
1
TODO.md
1
TODO.md
|
@ -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
|
||||||
|
|
|
@ -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],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user