summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iqid.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-10-04 14:12:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-10-04 14:12:16 +0000
commit9a942c19b93060396982b19a665a231e11324ebf (patch)
tree3181409249578a3c4c9739483a1eb97cd644b546 /protocols/JabberG/src/jabber_iqid.cpp
parent87cae0ab16baff67784eabfa41464bb598204b13 (diff)
Jabber:
- fix for a very rare crash with Jabber info frame; - unused vavriables removed; git-svn-id: http://svn.miranda-ng.org/main/trunk@10687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rw-r--r--protocols/JabberG/src/jabber_iqid.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp
index 814e89c404..16b99d610d 100644
--- a/protocols/JabberG/src/jabber_iqid.cpp
+++ b/protocols/JabberG/src/jabber_iqid.cpp
@@ -50,7 +50,7 @@ void CJabberProto::OnIqResultServerDiscoInfo(HXML iqNode, CJabberIqInfo*)
xmlGetAttrValue(identity, _T("name")) };
if (!lstrcmp(tmp.category, _T("pubsub")) && !lstrcmp(tmp.type, _T("pep"))) {
- m_bPepSupported = TRUE;
+ m_bPepSupported = true;
EnableMenuItems(TRUE);
RebuildInfoFrame();
@@ -187,7 +187,7 @@ void CJabberProto::OnLoggedIn()
XmlNodeIq( AddIQ(&CJabberProto::OnIqResultDiscoBookmarks, JABBER_IQ_TYPE_GET))
<< XQUERY(JABBER_FEAT_PRIVATE_STORAGE) << XCHILDNS(_T("storage"), _T("storage:bookmarks")));
- m_bPepSupported = FALSE;
+ m_bPepSupported = false;
m_ThreadInfo->jabberServerCaps = JABBER_RESOURCE_CAPS_NONE;
m_ThreadInfo->send(
@@ -510,7 +510,6 @@ void CJabberProto::OnIqResultGetRoster(HXML iqNode, CJabberIqInfo *pInfo)
EnableMenuItems(TRUE);
debugLogA("Status changed via THREADSTART");
- m_bModeMsgStatusChangePending = FALSE;
SetServerStatus(m_iDesiredStatus);
if (m_options.AutoJoinConferences)