From 5ce5965da1db4cfd5e39a89b0dd922e2fe6cf59e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Mar 2020 22:40:54 +0300 Subject: 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 --- protocols/JabberG/src/jabber_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src/jabber_api.cpp') 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 -- cgit v1.2.3