aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-30 08:01:22 +0200
committerKim Alvefur <zash@zash.se>2019-07-30 08:01:22 +0200
commit708f1a00bf67dd07f1b3efb5697ac0f73cc0bba3 (patch)
tree0f70a8e0afd14e2d302cd277a05d6240f9852c49 /plugins/muc/muc.lib.lua
parent74c233d1198c790e7c6fab0289fa43da7980a576 (diff)
downloadprosody-708f1a00bf67dd07f1b3efb5697ac0f73cc0bba3.tar.gz
prosody-708f1a00bf67dd07f1b3efb5697ac0f73cc0bba3.zip
MUC: Advertise XEP-0410 support
Unsure if the feature was in the XEP at the time of 7c1cdf5f9f83
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-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 9648ea78..a942182d 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -358,6 +358,7 @@ 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();
+ event.reply:tag("feature", {var = "http://jabber.org/protocol/muc#self-ping-optimization"}):up();
end);
module:hook("muc-disco#info", function(event)
table.insert(event.form, { name = "muc#roominfo_occupants", label = "Number of occupants" });