From a3c3a34d2bccc79dd1f6610af28e0a5c9ce48081 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 17 May 2016 18:02:46 +0000 Subject: 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 --- protocols/JabberG/src/jabber_chat.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/JabberG/src/jabber_chat.cpp') 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); -- cgit v1.2.3