Changeset

3647:a0ca5d0a49ba

mod_muc_ping: Advertise XEP-0410 feature
author Kim Alvefur <zash@zash.se>
date Wed, 21 Aug 2019 00:38:20 +0200
parents 3646:58047d6f2b89
children 3648:aa12b95a6d36
files mod_muc_ping/mod_muc_ping.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_ping/mod_muc_ping.lua	Sun Aug 11 02:58:56 2019 +0200
+++ b/mod_muc_ping/mod_muc_ping.lua	Wed Aug 21 00:38:20 2019 +0200
@@ -29,4 +29,5 @@
 
 module:hook("muc-disco#info", function(event)
 	event.reply:tag("feature", {var="urn:xmpp:ping"}):up();
+	event.reply:tag("feature", {var = "http://jabber.org/protocol/muc#self-ping-optimization"}):up();
 end);