summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-10-14 18:09:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-10-14 18:09:29 +0300
commit5d93dcbd9d47bd83c6f7c5e2382e2e6cf2641f60 (patch)
tree162bc7146e7a0e57cfbe4e1eaf47a873155958ca /protocols/JabberG/src/jabber_thread.cpp
parent4627d81b96900c508db360151b8eb84b6569a2cf (diff)
Jabber: newly added contact has no Nick field
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 2f1b96a73a..111ef69fb8 100755
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -984,7 +984,7 @@ DWORD JabberGetLastContactMessageTime(MCONTACT hContact)
MCONTACT CJabberProto::CreateTemporaryContact(const char *szJid, JABBER_LIST_ITEM* chatItem)
{
if (chatItem == nullptr)
- return DBCreateContact(szJid, ptrA(JabberNickFromJID(szJid)), true, true);
+ return DBCreateContact(szJid, nullptr, true, true);
const char *p = strchr(szJid, '/');
if (p != nullptr && p[1] != '\0')