Respond to IQ version on the gateway, a server or a chan with biboumi version

ref #2455
This commit is contained in:
Florent Le Coz
2014-06-20 10:45:42 +02:00
parent aaf7177413
commit b747f2825c
3 changed files with 43 additions and 1 deletions
+4
View File
@@ -199,6 +199,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 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.