@@ -997,7 +997,7 @@ void BiboumiComponent::send_irc_channel_disco_info(const std::string& id, const
|
|||||||
identity["category"] = "conference";
|
identity["category"] = "conference";
|
||||||
identity["type"] = "irc";
|
identity["type"] = "irc";
|
||||||
identity["name"] = ""s + iid.get_local() + " on " + iid.get_server();
|
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})
|
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"})
|
||||||
{
|
{
|
||||||
XmlSubNode feature(query, "feature");
|
XmlSubNode feature(query, "feature");
|
||||||
feature["var"] = ns;
|
feature["var"] = ns;
|
||||||
|
|||||||
@@ -344,6 +344,8 @@ void XmppComponent::send_user_join(const std::string& from,
|
|||||||
status_self["code"] = "110";
|
status_self["code"] = "110";
|
||||||
XmlSubNode status_nick_modified(x, "status");
|
XmlSubNode status_nick_modified(x, "status");
|
||||||
status_nick_modified["code"] = "210";
|
status_nick_modified["code"] = "210";
|
||||||
|
XmlSubNode status_nonanonymous(x, "status");
|
||||||
|
status_nonanonymous["code"] = "100";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this->send_stanza(presence);
|
this->send_stanza(presence);
|
||||||
|
|||||||
Reference in New Issue
Block a user