summaryrefslogtreecommitdiff
path: root/src/xmpp/biboumi_component.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-09-22 19:01:31 +0200
committerlouiz’ <louiz@louiz.org>2016-09-22 19:01:31 +0200
commit2922c68e8315190bfc1aa81fbf4959dbb052be3b (patch)
tree84bd7d43f70b82d4c826bb142bf75d8c5498b3eb /src/xmpp/biboumi_component.hpp
parent07e2209596a1fbcc1d6f97d68bfda8e2add19ea2 (diff)
downloadbiboumi-2922c68e8315190bfc1aa81fbf4959dbb052be3b.tar.gz
biboumi-2922c68e8315190bfc1aa81fbf4959dbb052be3b.tar.bz2
biboumi-2922c68e8315190bfc1aa81fbf4959dbb052be3b.tar.xz
biboumi-2922c68e8315190bfc1aa81fbf4959dbb052be3b.zip
Respond to disco#info requests on IRC server JIDs
This makes it possible to execute an ad-hoc command on a server, with clients like Gajim, for example.
Diffstat (limited to 'src/xmpp/biboumi_component.hpp')
-rw-r--r--src/xmpp/biboumi_component.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmpp/biboumi_component.hpp b/src/xmpp/biboumi_component.hpp
index 1844451..8b2ac78 100644
--- a/src/xmpp/biboumi_component.hpp
+++ b/src/xmpp/biboumi_component.hpp
@@ -62,6 +62,10 @@ public:
*/
void send_self_disco_info(const std::string& id, const std::string& jid_to);
/**
+ * Send a result IQ with the disco informations regarding IRC server JIDs.
+ */
+ void send_irc_server_disco_info(const std::string& id, const std::string& jid_to, const std::string& jid_from);
+ /**
* Send an iq version request
*/
void send_iq_version_request(const std::string& from,