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

11
TODO.md
View File

@ -1,26 +1,19 @@
- "rejoin" leftbanner button if room is public - "rejoin" leftbanner button if room is public
- daybreak color - daybreak color
- html links color - html links color
- invite/leave/forget backend funcs
- license headers - license headers
- [debug mode](https://docs.python.org/3/library/asyncio-dev.html) - [debug mode](https://docs.python.org/3/library/asyncio-dev.html)
- `pyotherside.atexit()` - `pyotherside.atexit()`
- way to put sidepane back to auto-sizing (snap) - way to put sidepane back to auto-sizing (snap)
- better look for arrows when sidepane collapsed - better look for arrows when sidepane collapsed
- don't put own messages to the right past certain width
ideas ideas
(^/v) messages unread + messages still sending (^/v) messages unread + messages still sending
sticky avatar at top sticky avatar at top in event list
ability to cancel message being sent ability to cancel message being sent
nio
set typing
fix `RoomForgetResponse.create_error`
OLD
- Refactoring - Refactoring
- Migrate more JS functions to their own files / Implement in Python instead
- Don't bake in size properties for components - Don't bake in size properties for components
- Bug fixes - Bug fixes

View File

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