Software /
code /
prosody
Changeset
8588:54b60a1eea2d
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
author | Jonas Wielicki <jonas@wielicki.name> |
---|---|
date | Thu, 08 Mar 2018 17:36:36 +0100 |
parents | 8587:986c3e22ec32 |
children | 8589:4e475ef4b569 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Wed Jan 10 15:15:25 2018 +0000 +++ b/plugins/muc/muc.lib.lua Thu Mar 08 17:36:36 2018 +0100 @@ -231,6 +231,7 @@ return st.reply(stanza):query("http://jabber.org/protocol/disco#info") :tag("identity", {category="conference", type="text", name=self:get_name()}):up() :tag("feature", {var="http://jabber.org/protocol/muc"}):up() + :tag("feature", {var="http://jabber.org/protocol/muc#stable_id"}):up() :tag("feature", {var=self:get_password() and "muc_passwordprotected" or "muc_unsecured"}):up() :tag("feature", {var=self:is_moderated() and "muc_moderated" or "muc_unmoderated"}):up() :tag("feature", {var=self:is_members_only() and "muc_membersonly" or "muc_open"}):up()