summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/JabberG/src/jabber_events.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_events.cpp b/protocols/JabberG/src/jabber_events.cpp
index 237b1f6b50..82af689ebb 100644
--- a/protocols/JabberG/src/jabber_events.cpp
+++ b/protocols/JabberG/src/jabber_events.cpp
@@ -55,6 +55,9 @@ void CJabberProto::OnContactDeleted(MCONTACT hContact)
ListRemove(LIST_ROSTER, jid);
}
+
+ if (isChatRoom(hContact))
+ ListRemove(LIST_CHATROOM, jid);
}
/////////////////////////////////////////////////////////////////////////////////////////