From 937c816460e09bf4da2d4fbf6ca5c4b18346ee19 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 22 Jun 2016 15:38:30 +0000 Subject: - fix a bug with roster push processing in Jabber; - cosmetic fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@17016 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src/jabber_util.cpp') diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index ad0e2caf07..8b1f200a44 100644 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -58,7 +58,7 @@ MCONTACT CJabberProto::HContactFromJID(const TCHAR *jid, bool bStripResource) if (bStripResource) { TCHAR szJid[JABBER_MAX_JID_LEN]; JabberStripJid(jid, szJid, _countof(szJid)); - item = ListGetItemPtr(LIST_ROSTER, jid); + item = ListGetItemPtr(LIST_ROSTER, szJid); if (item != NULL && item->hContact) return item->hContact; } -- cgit v1.2.3