mirror of https://github.com/zlatinb/muwire
do not send /LEAVE messages when leaving private chats
parent
c0f6b1ed73
commit
57d5b5f386
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue