diff options
author | Jonas Wielicki <jonas@wielicki.name> | 2018-03-08 17:35:56 +0100 |
---|---|---|
committer | Jonas Wielicki <jonas@wielicki.name> | 2018-03-08 17:35:56 +0100 |
commit | 58b678bdd6294a9be25bb2003ac591274d3846e1 (patch) | |
tree | c6b6518b81a7acab522164f9fcfca7b06f4f69aa /plugins/muc | |
parent | 1660775b989bfcaca2080ff327e8b7acc06970f3 (diff) | |
download | prosody-58b678bdd6294a9be25bb2003ac591274d3846e1.tar.gz prosody-58b678bdd6294a9be25bb2003ac591274d3846e1.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 c138057d..138f2acf 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -344,6 +344,7 @@ function room_mt:get_disco_info(stanza) end module:hook("muc-disco#info", function(event) event.reply:tag("feature", {var = "http://jabber.org/protocol/muc"}):up(); + event.reply:tag("feature", {var = "http://jabber.org/protocol/muc#stable_id"}):up(); end); module:hook("muc-disco#info", function(event) table.insert(event.form, { name = "muc#roominfo_occupants", label = "Number of occupants" }); |