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 | f6cab5c6d231d4453d83ff1b788cc207370bf3a8 (patch) | |
tree | 8f5ed632aa9477ea40c933d6c92c7da18fc58fce /plugins/muc | |
parent | 7a530c33312ed46ecc644b59d1d95771778e865d (diff) | |
download | prosody-f6cab5c6d231d4453d83ff1b788cc207370bf3a8.tar.gz prosody-f6cab5c6d231d4453d83ff1b788cc207370bf3a8.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() |