Add ping to the disco info of the gateay

This commit is contained in:
louiz’
2016-08-16 10:44:13 +02:00
parent 487b80ec9e
commit 6bbab9d943
+1 -1
View File
@@ -558,7 +558,7 @@ void BiboumiComponent::send_self_disco_info(const std::string& id, const std::st
identity["type"] = "irc";
identity["name"] = "Biboumi XMPP-IRC gateway";
query.add_child(std::move(identity));
for (const char* ns: {DISCO_INFO_NS, MUC_NS, ADHOC_NS})
for (const char* ns: {DISCO_INFO_NS, MUC_NS, ADHOC_NS, PING_NS})
{
XmlNode feature("feature");
feature["var"] = ns;