summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-17 18:02:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-17 18:02:46 +0000
commita3c3a34d2bccc79dd1f6610af28e0a5c9ce48081 (patch)
tree986c2e6f4397d4a16769443823286a27794f4b86 /protocols
parent457ab3f46ff28872cc4b706b21a58a1b5b02f74f (diff)
fixes bug #1238 ((Unknown Contact) in Jabber's userinfo)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16841 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_chat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_chat.cpp b/protocols/JabberG/src/jabber_chat.cpp
index 82f7b86477..23bfb6e3f0 100644
--- a/protocols/JabberG/src/jabber_chat.cpp
+++ b/protocols/JabberG/src/jabber_chat.cpp
@@ -1034,6 +1034,8 @@ static void sttNickListHook(CJabberProto *ppro, JABBER_LIST_ITEM *item, GCHOOK*
CMString jid(FORMAT, _T("%s/%s"), item->jid, him->m_tszResourceName);
MCONTACT hContact = ppro->AddToListByJID(jid, PALF_TEMPORARY);
+ ppro->setTString(hContact, "Nick", him->m_tszResourceName);
+
ppro->ListAdd(LIST_VCARD_TEMP, jid, hContact);
ppro->ListAddResource(LIST_VCARD_TEMP, jid, him->m_iStatus, him->m_tszStatusMessage, him->m_iPriority);