aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-08-21 00:36:42 +0200
committerKim Alvefur <zash@zash.se>2019-08-21 00:36:42 +0200
commitdf727e79fa3b95a6a2663a0a29a5832693ddc4c6 (patch)
treec547cd9afbdd489239a1fed6bd8e97cb05179fa5 /plugins/muc/muc.lib.lua
parent9f32d30e97c325810bba0ce17fef4491fac2f365 (diff)
parent8b12f4ace11725bb82cc0977cf01514af382f18d (diff)
downloadprosody-df727e79fa3b95a6a2663a0a29a5832693ddc4c6.tar.gz
prosody-df727e79fa3b95a6a2663a0a29a5832693ddc4c6.zip
Merge 0.11->trunk
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 34961558..5dea3fef 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -359,6 +359,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" });