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 | b549552ce71bd3315fdb39d11c5ee068daf53222 (patch) | |
tree | 8f5ed632aa9477ea40c933d6c92c7da18fc58fce | |
parent | afcc3470e601b32c41f775b6a73e4c4351af4c8c (diff) | |
download | prosody-b549552ce71bd3315fdb39d11c5ee068daf53222.tar.gz prosody-b549552ce71bd3315fdb39d11c5ee068daf53222.zip |
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
-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() |