Announce the urn:xmpp:sid:0 NS in MUC's disco#info

As required by XEP 0359

Should fix #3369
This commit is contained in:
louiz’ committed 2020-03-11 00:19:19 +01:00
1 parent e967088986
commit 40d2168ae5
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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;