~singpolyma/biboumi

764878fb0f357ec42b59b58d199fe2d5a046f998 — Stephen Paul Weber 14 days ago 11bbc5d master
Fix disco for IRC servers

They should not advertise that they are MUCs since they are
not
1 files changed, 2 insertions(+), 2 deletions(-)

M src/xmpp/biboumi_component.cpp
M src/xmpp/biboumi_component.cpp => src/xmpp/biboumi_component.cpp +2 -2
@@ 983,10 983,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;