aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorJonas Wielicki <jonas@wielicki.name>2018-03-08 17:35:56 +0100
committerJonas Wielicki <jonas@wielicki.name>2018-03-08 17:35:56 +0100
commit2bcd1752e0bbe4fb1df7117a98f1b44ce8e59636 (patch)
treec6b6518b81a7acab522164f9fcfca7b06f4f69aa /plugins/muc
parent2d597bad93219365679ec4d77b2fe25609897c9f (diff)
downloadprosody-2bcd1752e0bbe4fb1df7117a98f1b44ce8e59636.tar.gz
prosody-2bcd1752e0bbe4fb1df7117a98f1b44ce8e59636.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.lua1
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" });