diff options
author | George Hazan <george.hazan@gmail.com> | 2014-10-04 14:12:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-10-04 14:12:16 +0000 |
commit | 9a942c19b93060396982b19a665a231e11324ebf (patch) | |
tree | 3181409249578a3c4c9739483a1eb97cd644b546 /protocols/JabberG/src/jabber_iqid.cpp | |
parent | 87cae0ab16baff67784eabfa41464bb598204b13 (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.cpp | 5 |
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)
|