Changeset

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
parents 10092:4b3c129e96f2
children 10212:a53126b7fe22 10230:dd7e924c74ef
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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" });