summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2020-03-11 00:19:19 +0100
committerlouiz’ <louiz@louiz.org>2020-03-11 00:19:19 +0100
commit40d2168ae5dbee4823083058ad8d94f80a3080b5 (patch)
tree55dde383f7925a212ee36dcfffd1656fe35e9f5f /src/xmpp
parente967088986f0d32eec662e2ab3749e4ba8e07a21 (diff)
downloadbiboumi-40d2168ae5dbee4823083058ad8d94f80a3080b5.tar.gz
biboumi-40d2168ae5dbee4823083058ad8d94f80a3080b5.tar.bz2
biboumi-40d2168ae5dbee4823083058ad8d94f80a3080b5.tar.xz
biboumi-40d2168ae5dbee4823083058ad8d94f80a3080b5.zip
Announce the urn:xmpp:sid:0 NS in MUC's disco#info
As required by XEP 0359 Should fix #3369
Diffstat (limited to 'src/xmpp')
-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 c531bd0..f2e3753 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -1011,7 +1011,7 @@ void BiboumiComponent::send_irc_channel_disco_info(const std::string& id, const
identity["category"] = "conference";
identity["type"] = "irc";
identity["name"] = ""s + iid.get_local() + " on " + iid.get_server();
- for (const char *ns: {DISCO_INFO_NS, MUC_NS, ADHOC_NS, PING_NS, MAM_NS, VERSION_NS, STABLE_MUC_ID_NS, SELF_PING_FLAG, "muc_nonanonymous"})
+ for (const char *ns: {DISCO_INFO_NS, MUC_NS, ADHOC_NS, PING_NS, MAM_NS, VERSION_NS, STABLE_MUC_ID_NS, SELF_PING_FLAG, "muc_nonanonymous", STABLE_ID_NS})
{
XmlSubNode feature(query, "feature");
feature["var"] = ns;