diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-08 20:22:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-08 20:22:55 +0300 |
commit | 590fca56c460dc8a2be22c5e8370f79ab8c25cd2 (patch) | |
tree | 7154f97ebdfb852ce35a573f5ea4301916375e98 /protocols/JabberG/src/jabber_thread.cpp | |
parent | c836061c4bce5fac2c3c349ace3bddb99f081c9e (diff) |
Jabber: unneeded parameter eliminated from CJabberProto::GetResourceCapabilites
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 e8e0e2c381..07f2b0209a 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1256,7 +1256,7 @@ void CJabberProto::OnProcessMessage(HXML node, ThreadData *info) else if (!mir_wstrcmp(ptszXmlns, JABBER_FEAT_MESSAGE_EVENTS)) {
// set events support only if we discovered caps and if events not already set
- JabberCapsBits jcbCaps = GetResourceCapabilites(from, true);
+ JabberCapsBits jcbCaps = GetResourceCapabilities(from);
if (jcbCaps & JABBER_RESOURCE_CAPS_ERROR)
jcbCaps = JABBER_RESOURCE_CAPS_NONE;
// FIXME: disabled due to expired XEP-0022 and problems with bombus delivery checks
@@ -1473,7 +1473,7 @@ void CJabberProto::OnProcessPresenceCapabilites(HXML node, pResourceStatus &r) if (r->m_pCaps == nullptr) {
r->m_pCaps = m_clientCapsManager.SetClientCaps(szNode, szVer, L"", JABBER_RESOURCE_CAPS_UNINIT);
- GetResourceCapabilites(from, false);
+ GetResourceCapabilities(from, r);
}
}
|