# HG changeset patch # User Jonas Wielicki # Date 1520526996 -3600 # Node ID cf10cd3eb728022f2cb0923577f42f3cef4d3206 # Parent 75d5eee6fcdf4cefef5831c6383fa1900604da94 MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097) diff -r 75d5eee6fcdf -r cf10cd3eb728 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Wed Mar 07 15:05:20 2018 +0100 +++ b/plugins/muc/muc.lib.lua Thu Mar 08 17:36:36 2018 +0100 @@ -213,6 +213,7 @@ 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()