summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-04 20:00:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-04 20:00:39 +0300
commit260827b1bf896a14ade03af934be78f210dcd1f6 (patch)
treec6b6a8da3c980a92ffd6465995e83ebb3a8a2434 /protocols
parente890f42b54d50b31591624a96949abb6dda004b1 (diff)
fixes #1879 (jabber doesn't delete contacts from roster anymore)
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_events.cpp b/protocols/JabberG/src/jabber_events.cpp
index 8f30874711..fb21161328 100644
--- a/protocols/JabberG/src/jabber_events.cpp
+++ b/protocols/JabberG/src/jabber_events.cpp
@@ -37,7 +37,7 @@ void CJabberProto::OnContactDeleted(MCONTACT hContact)
return;
ptrA jid(getUStringA(hContact, isChatRoom(hContact) ? "ChatRoomID" : "jid"));
- if (jid)
+ if (jid == nullptr)
return;
if (ListGetItemPtr(LIST_ROSTER, jid)) {