summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_api.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-02 22:40:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-02 22:41:01 +0300
commit5ce5965da1db4cfd5e39a89b0dd922e2fe6cf59e (patch)
tree4e21770091e68fdaf8a423546cae97579ab10585 /protocols/JabberG/src/jabber_api.cpp
parent5496a4810b112dfbb5acfdff08de685dbd48fd40 (diff)
Jabber:
- capability cache is stored in a json file now instead of database; - caps manager became global; - account-dependent methods of CJabberClientCapsManager moved to CJabberProto; - code cleaning
Diffstat (limited to 'protocols/JabberG/src/jabber_api.cpp')
-rw-r--r--protocols/JabberG/src/jabber_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_api.cpp b/protocols/JabberG/src/jabber_api.cpp
index f238fa7d15..59104f3dfd 100644
--- a/protocols/JabberG/src/jabber_api.cpp
+++ b/protocols/JabberG/src/jabber_api.cpp
@@ -226,7 +226,7 @@ int CJabberProto::RegisterFeature(const char *szFeature, const char *szDescripti
if (wcschr(L"bcdfghjklmnpqrstvwxz0123456789", *pSrc))
*pDst++ = *pSrc;
*pDst = 0;
- m_clientCapsManager.SetOwnCaps(JABBER_CAPS_MIRANDA_NODE, szExt, jcb);
+ g_clientCapsManager.SetClientCaps(JABBER_CAPS_MIRANDA_NODE, m_szFeaturesCrc, szExt, jcb);
fcp = new JabberFeatCapPairDynamic();
fcp->szExt = szExt; // will be deallocated along with other values of JabberFeatCapPairDynamic in CJabberProto destructor