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.
This commit is contained in:
louiz’
2016-09-22 19:01:31 +02:00
parent 07e2209596
commit 2922c68e83
2 changed files with 39 additions and 1 deletions
+4
View File
@@ -61,6 +61,10 @@ public:
* Send a result IQ with the gateway disco informations.
*/
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
*/