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_thread.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_thread.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 64d43d4404..ed9cc47d71 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1512,14 +1512,14 @@ void CJabberProto::OnProcessPresence(HXML node, ThreadData *info) }
MCONTACT hContact;
- BOOL bSelfPresence = FALSE;
+ bool bSelfPresence = false;
TCHAR szBareFrom[JABBER_MAX_JID_LEN];
JabberStripJid(from, szBareFrom, _countof(szBareFrom));
TCHAR szBareOurJid[JABBER_MAX_JID_LEN];
JabberStripJid(info->fullJID, szBareOurJid, _countof(szBareOurJid));
if (!mir_tstrcmpi(szBareFrom, szBareOurJid))
- bSelfPresence = TRUE;
+ bSelfPresence = true;
LPCTSTR type = XmlGetAttrValue(node, _T("type"));
if (type == NULL || !mir_tstrcmp(type, _T("available"))) {
|