do not send /LEAVE messages when leaving private chats

This commit is contained in:
Zlatin Balevsky
2019-11-26 05:31:22 +00:00
parent c0f6b1ed73
commit 57d5b5f386

View File

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