From 814bb67df84608d7905fafd6555fc0f581766493 Mon Sep 17 00:00:00 2001 From: poVoq Date: Mon, 1 Sep 2025 03:26:34 +0200 Subject: [PATCH] Fix disco for IRC servers They should not advertise that they are MUCs since they are not. Backport from: https://git.sr.ht/~singpolyma/biboumi/commit/764878fb0f357ec42b59b58d199fe2d5a046f998 --- src/xmpp/biboumi_component.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp index 7be2bee..4d432bb 100644 --- a/src/xmpp/biboumi_component.cpp +++ b/src/xmpp/biboumi_component.cpp @@ -987,10 +987,10 @@ void BiboumiComponent::send_irc_server_disco_info(const std::string& id, const s XmlSubNode query(iq, "query"); query["xmlns"] = DISCO_INFO_NS; XmlSubNode identity(query, "identity"); - identity["category"] = "conference"; + identity["category"] = "gateway"; identity["type"] = "irc"; identity["name"] = "IRC server " + from.local + " over Biboumi"; - for (const char *ns: {DISCO_INFO_NS, MUC_NS, ADHOC_NS, PING_NS, MAM_NS, VERSION_NS, STABLE_MUC_ID_NS}) + for (const char *ns: {DISCO_INFO_NS, ADHOC_NS, PING_NS, VERSION_NS}) { XmlSubNode feature(query, "feature"); feature["var"] = ns;