Init desktop notifications.

This commit is contained in:
Black Hat
2018-07-19 16:04:09 +08:00
parent 43f02c4fa1
commit 7dd9132176
6 changed files with 31 additions and 18 deletions

View File

@@ -98,6 +98,7 @@ Item {
delegate: MessageDelegate {}
onAtYBeginningChanged: atYBeginning && currentRoom ? currentRoom.getPreviousContent(50) : {}
onAtYEndChanged: atYEnd && currentRoom ? currentRoom.markAllMessagesAsRead() : {}
ScrollBar.vertical: ScrollBar {}