do not send /LEAVE messages when leaving private chats

pull/34/head
Zlatin Balevsky 2019-11-26 05:31:22 +00:00
parent c0f6b1ed73
commit 57d5b5f386
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class ChatRoomController {
} }
void leaveRoom() { void leaveRoom() {
if (leftRoom) if (leftRoom || model.privateChat)
return return
leftRoom = true leftRoom = true
long now = System.currentTimeMillis() long now = System.currentTimeMillis()