diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-11-12 08:10:46 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-11-12 08:14:56 +0100 |
commit | 12eeb4d11eee5b8e6514f0ce8bf7508cc2d6d7a1 (patch) | |
tree | 386b8579941d2452ac956e7644da161af6942980 /src/bridge/bridge.hpp | |
parent | 80789c2e927e90b025f26951ed1bbbde25d5eb0f (diff) | |
download | biboumi-12eeb4d11eee5b8e6514f0ce8bf7508cc2d6d7a1.tar.gz biboumi-12eeb4d11eee5b8e6514f0ce8bf7508cc2d6d7a1.tar.bz2 biboumi-12eeb4d11eee5b8e6514f0ce8bf7508cc2d6d7a1.tar.xz biboumi-12eeb4d11eee5b8e6514f0ce8bf7508cc2d6d7a1.zip |
Implement the PING on a server or the gateway itself
fix #2575
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r-- | src/bridge/bridge.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp index 6d09fff..cf39545 100644 --- a/src/bridge/bridge.hpp +++ b/src/bridge/bridge.hpp @@ -85,6 +85,12 @@ public: void send_irc_participant_ping_request(const Iid& iid, const std::string& nick, const std::string& iq_id, const std::string& to_jid, const std::string& from_jid); + /** + * Directly send back a result if it's a gateway ping or if we are + * connected to the given IRC server, an error otherwise. + */ + void on_gateway_ping(const std::string& irc_hostname, const std::string& iq_id, const std::string& to_jid, + const std::string& from_jid); /*** ** |