summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-13 20:19:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-13 20:19:45 +0300
commit768aa5fbe8f766d2a654f301f37d4fd46b520ca5 (patch)
treebaf7b22bb38fd4554ebf2e6551cbc32d2c6099e8
parent84957d33ce3c6622252d4752b34506a8ea1b5d48 (diff)
fixes #2759 (Jabber: комната в клисте горит желтым, даже когда с меня снимают membership)
-rw-r--r--protocols/JabberG/src/jabber_groupchat.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp
index 306af47616..383d3c72f0 100644
--- a/protocols/JabberG/src/jabber_groupchat.cpp
+++ b/protocols/JabberG/src/jabber_groupchat.cpp
@@ -925,6 +925,8 @@ void CJabberProto::GroupchatProcessPresence(const TiXmlElement *node)
switch (iStatus) {
case 301:
case 307:
+ case 321:
+ case 322:
GcQuit(item, iStatus, reasonNode);
return;
@@ -941,6 +943,7 @@ void CJabberProto::GroupchatProcessPresence(const TiXmlElement *node)
case 301:
case 307:
+ case 321:
case 322:
ListRemoveResource(LIST_CHATROOM, from);
GcLogUpdateMemberStatus(item, resource, nick, str, GC_EVENT_KICK, reasonNode, iStatus);