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

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: {