summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_svc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-04-13 15:08:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-04-13 15:08:47 +0000
commitfdc5bdfae8a4a70cfd91ec0a8554005a3c0bbae2 (patch)
tree8218d1ecb0d5306907f8809bd0b714126c28e675 /protocols/JabberG/src/jabber_svc.cpp
parente3a9aa77869d8175d8a8483be6f1a976b5c0e1c4 (diff)
sorted lists are used now in Jabber instead of linear database lookup
git-svn-id: http://svn.miranda-ng.org/main/trunk@16642 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);