diff options
author | Jonas Wielicki <jonas@wielicki.name> | 2018-03-08 17:36:36 +0100 |
---|---|---|
committer | Jonas Wielicki <jonas@wielicki.name> | 2018-03-08 17:36:36 +0100 |
commit | 7f55f83d48ed4f5a290863c8d204411cf3e38ece (patch) | |
tree | 8f5ed632aa9477ea40c933d6c92c7da18fc58fce /plugins/muc | |
parent | 1e6c295b684a7b9519454a72d9d0e04e8bc72d1b (diff) | |
download | prosody-7f55f83d48ed4f5a290863c8d204411cf3e38ece.tar.gz prosody-7f55f83d48ed4f5a290863c8d204411cf3e38ece.zip |
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/muc.lib.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 8930feeb..5d8c6df5 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -213,6 +213,7 @@ function room_mt:get_disco_info(stanza) local reply = 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:get_moderated() and "muc_moderated" or "muc_unmoderated"}):up() :tag("feature", {var=self:get_members_only() and "muc_membersonly" or "muc_open"}):up() |