Mark read marker when switching room.

This commit is contained in:
Black Hat
2018-11-02 19:05:15 +08:00
parent d53f7bc9bd
commit 87103fcb19
6 changed files with 52 additions and 24 deletions

View File

@@ -25,6 +25,8 @@ Rectangle {
inviteDialog.currentRoom = currentRoom
inviteDialog.open()
} else {
leaveRoom(enteredRoom)
enterRoom(currentRoom)
enteredRoom = currentRoom
}
}