# HG changeset patch # User Kim Alvefur # Date 1564466482 -7200 # Node ID 224e681c4db2d6e19c0ea5b3cae7f500e23d5d30 # Parent 4b3c129e96f2686f3c8ee873add5cc97dcc02e1d MUC: Advertise XEP-0410 support Unsure if the feature was in the XEP at the time of 7c1cdf5f9f83 diff -r 4b3c129e96f2 -r 224e681c4db2 plugins/muc/muc.lib.lua --- 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" });