From 6ebb586b6ce097d5768e3863411042f4dc6c979e Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 24 Apr 2014 19:36:14 +0200 Subject: Respond to a disco query the gateway jid itself --- src/xmpp/xmpp_component.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/xmpp/xmpp_component.hpp') diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index 3e13086..aa19be3 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -144,6 +144,10 @@ public: const std::string& affiliation, const std::string& role, const std::string& jid_to); + /** + * Send a result IQ with the gateway disco informations. + */ + void send_self_disco_info(const std::string& id, const std::string& jid_to); /** * Handle the various stanza types */ -- cgit v1.2.3