summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-08-16 10:44:13 +0200
committerlouiz’ <louiz@louiz.org>2016-08-16 10:44:13 +0200
commit6bbab9d943a56e3cd20a2ac96cce1e9056d148cb (patch)
tree020a2bb004f9d8ad65f93f3711229c070a220287
parent487b80ec9ec965520cc441c8ba2fcb7e14ce4fc7 (diff)
downloadbiboumi-6bbab9d943a56e3cd20a2ac96cce1e9056d148cb.tar.gz
biboumi-6bbab9d943a56e3cd20a2ac96cce1e9056d148cb.tar.bz2
biboumi-6bbab9d943a56e3cd20a2ac96cce1e9056d148cb.tar.xz
biboumi-6bbab9d943a56e3cd20a2ac96cce1e9056d148cb.zip
Add ping to the disco info of the gateay
-rw-r--r--src/xmpp/biboumi_component.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index f621a6d..a0222f5 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -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;