summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iq.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-17 20:13:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-17 20:13:53 +0300
commit306f3cd382fe210562f14f90522c33073c285344 (patch)
tree870af4804194ce3d170ff0599d1c01891f3c22e1 /protocols/JabberG/src/jabber_iq.cpp
parent748f064db28f9801f3851dd2a6e5d74b94dbdc38 (diff)
Jabber: full implementation of XEP-0231
Diffstat (limited to 'protocols/JabberG/src/jabber_iq.cpp')
-rw-r--r--protocols/JabberG/src/jabber_iq.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_iq.cpp b/protocols/JabberG/src/jabber_iq.cpp
index ab6d07bec2..45fb2227c8 100644
--- a/protocols/JabberG/src/jabber_iq.cpp
+++ b/protocols/JabberG/src/jabber_iq.cpp
@@ -128,6 +128,9 @@ void CJabberIqManager::FillPermanentHandlers()
// http auth (XEP-0070)
AddPermanentHandler(&CJabberProto::OnIqHttpAuth, JABBER_IQ_TYPE_GET, JABBER_IQ_PARSE_FROM | JABBER_IQ_PARSE_ID_STR | JABBER_IQ_PARSE_CHILD_TAG_NODE, JABBER_FEAT_HTTP_AUTH, FALSE, "confirm");
+
+ // XEP-0231 support
+ AddPermanentHandler(&CJabberProto::FtHandleCidRequest, JABBER_IQ_TYPE_GET, JABBER_IQ_PARSE_FROM | JABBER_IQ_PARSE_TO | JABBER_IQ_PARSE_ID_STR | JABBER_IQ_PARSE_CHILD_TAG_NODE, JABBER_FEAT_BITS, FALSE, "data");
}
void __cdecl CJabberProto::ExpirerThread(void* pParam)