summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_svc.cpp')
-rw-r--r--protocols/JabberG/src/jabber_svc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_svc.cpp b/protocols/JabberG/src/jabber_svc.cpp
index 317687a073..9b6ecf86a6 100644
--- a/protocols/JabberG/src/jabber_svc.cpp
+++ b/protocols/JabberG/src/jabber_svc.cpp
@@ -442,7 +442,7 @@ INT_PTR __cdecl CJabberProto::JabberServiceParseXmppURI(WPARAM, LPARAM lParam)
TCHAR *szMsgBody = NULL;
MCONTACT hContact = HContactFromJID(szJid, false);
if (hContact == NULL)
- hContact = DBCreateContact(szJid, szJid, TRUE, TRUE);
+ hContact = DBCreateContact(szJid, szJid, true, true);
if (hContact == NULL)
return 1;
@@ -509,7 +509,7 @@ INT_PTR __cdecl CJabberProto::JabberServiceParseXmppURI(WPARAM, LPARAM lParam)
if (!mir_tstrcmpi(szCommand, _T("sendfile"))) {
MCONTACT hContact = HContactFromJID(szJid, false);
if (hContact == NULL)
- hContact = DBCreateContact(szJid, szJid, TRUE, TRUE);
+ hContact = DBCreateContact(szJid, szJid, true, true);
if (hContact == NULL)
return 1;
CallService(MS_FILE_SENDFILE, hContact, NULL);