diff options
author | George Hazan <george.hazan@gmail.com> | 2016-06-22 15:38:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-06-22 15:38:30 +0000 |
commit | 937c816460e09bf4da2d4fbf6ca5c4b18346ee19 (patch) | |
tree | faf03f55fc08cfa08a281b858d2cdd75d5058dfd /protocols/JabberG/src/jabber_iq_handlers.cpp | |
parent | 296c88217ab4b2872d8fdada5e8c309dcb50bf24 (diff) |
- fix a bug with roster push processing in Jabber;
- cosmetic fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@17016 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_iq_handlers.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_iq_handlers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_iq_handlers.cpp b/protocols/JabberG/src/jabber_iq_handlers.cpp index 13e3cc5cca..40e3ac164e 100644 --- a/protocols/JabberG/src/jabber_iq_handlers.cpp +++ b/protocols/JabberG/src/jabber_iq_handlers.cpp @@ -254,7 +254,7 @@ BOOL CJabberProto::OnRosterPushRequest(HXML, CJabberIqInfo *pInfo) if (nick != NULL) {
MCONTACT hContact = HContactFromJID(jid, false);
if (hContact == NULL)
- hContact = DBCreateContact(jid, nick, false, false);
+ hContact = DBCreateContact(jid, nick, false, true);
else
setTString(hContact, "jid", jid);
|