summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-06-17 21:41:09 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-06-20 10:45:42 +0200
commitb747f2825c43e31ade20267cecefe2c2a9c76241 (patch)
tree62f97b797b4c44b78de0cd3e8b3996cc946d0d87 /src/xmpp/xmpp_component.hpp
parentaaf71774131198de2095c07e560fb420833c544d (diff)
downloadbiboumi-b747f2825c43e31ade20267cecefe2c2a9c76241.tar.gz
biboumi-b747f2825c43e31ade20267cecefe2c2a9c76241.tar.bz2
biboumi-b747f2825c43e31ade20267cecefe2c2a9c76241.tar.xz
biboumi-b747f2825c43e31ade20267cecefe2c2a9c76241.zip
Respond to IQ version on the gateway, a server or a chan with biboumi version
ref #2455
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r--src/xmpp/xmpp_component.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp
index ac12e40..ab1d584 100644
--- a/src/xmpp/xmpp_component.hpp
+++ b/src/xmpp/xmpp_component.hpp
@@ -200,6 +200,10 @@ public:
*/
void send_self_disco_info(const std::string& id, const std::string& jid_to);
/**
+ * Send a result IQ with the gateway version.
+ */
+ void send_self_version(const std::string& id, const std::string& jid_to, const std::string& jid_from);
+ /**
* Send the list of all available ad-hoc commands to that JID. The list is
* different depending on what JID made the request.
*/