do not send /LEAVE messages when leaving private chats
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user