diff options
author | louiz’ <louiz@louiz.org> | 2016-08-16 10:44:13 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-08-16 10:44:13 +0200 |
commit | 6bbab9d943a56e3cd20a2ac96cce1e9056d148cb (patch) | |
tree | 020a2bb004f9d8ad65f93f3711229c070a220287 /src | |
parent | 487b80ec9ec965520cc441c8ba2fcb7e14ce4fc7 (diff) | |
download | biboumi-6bbab9d943a56e3cd20a2ac96cce1e9056d148cb.tar.gz biboumi-6bbab9d943a56e3cd20a2ac96cce1e9056d148cb.tar.bz2 biboumi-6bbab9d943a56e3cd20a2ac96cce1e9056d148cb.tar.xz biboumi-6bbab9d943a56e3cd20a2ac96cce1e9056d148cb.zip |
Add ping to the disco info of the gateay
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/biboumi_component.cpp | 2 |
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; |