Diff

plugins/muc/muc.lib.lua @ 10211:224e681c4db2 0.11

MUC: Advertise XEP-0410 support Unsure if the feature was in the XEP at the time of 7c1cdf5f9f83
author Kim Alvefur <zash@zash.se>
date Tue, 30 Jul 2019 08:01:22 +0200
parent 9819:11671a2e07a9
child 10212:a53126b7fe22
child 10293:f9301d93de72
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Sat Jul 20 04:19:58 2019 +0200
+++ b/plugins/muc/muc.lib.lua	Tue Jul 30 08:01:22 2019 +0200
@@ -358,6 +358,7 @@
 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" });