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_menu.cpp | |
parent | c836061c4bce5fac2c3c349ace3bddb99f081c9e (diff) |
Jabber: unneeded parameter eliminated from CJabberProto::GetResourceCapabilites
Diffstat (limited to 'protocols/JabberG/src/jabber_menu.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp index 7b1e6f86c4..c37e63b50a 100644 --- a/protocols/JabberG/src/jabber_menu.cpp +++ b/protocols/JabberG/src/jabber_menu.cpp @@ -410,7 +410,7 @@ int CJabberProto::OnPrebuildContactMenu(WPARAM hContact, LPARAM) if (jid == nullptr)
return 0;
- JabberCapsBits jcb = GetTotalJidCapabilites(jid);
+ JabberCapsBits jcb = GetTotalJidCapabilities(jid);
JABBER_LIST_ITEM *item = ListGetItemPtr(LIST_ROSTER, jid);
if (item == nullptr)
return 0;
@@ -971,7 +971,7 @@ int CJabberProto::OnProcessSrmmEvent(WPARAM, LPARAM lParam) if (r && r->m_bMessageSessionActive) {
r->m_bMessageSessionActive = FALSE;
- if (GetResourceCapabilites(jid, true) & JABBER_CAPS_CHATSTATES)
+ if (GetResourceCapabilities(jid) & JABBER_CAPS_CHATSTATES)
m_ThreadInfo->send(XmlNode(L"message") << XATTR(L"to", jid) << XATTR(L"type", L"chat") << XATTRID(SerialNext()) << XCHILDNS(L"gone", JABBER_FEAT_CHATSTATES));
}
}
|