Implement the PING on a server or the gateway itself

fix #2575
This commit is contained in:
Florent Le Coz
2014-11-12 08:14:56 +01:00
parent 80789c2e92
commit 12eeb4d11e
4 changed files with 25 additions and 0 deletions
+5
View File
@@ -568,6 +568,11 @@ void XmppComponent::handle_iq(const Stanza& stanza)
bridge->send_irc_participant_ping_request(iid,
to.resource, id, from, to_str);
}
else
{ // Ping a channel, a server or the gateway itself
bridge->on_gateway_ping(iid.get_server(),
id, from, to_str);
}
stanza_error.disable();
}
}