diff mod_stats39/mod_stats39.lua @ 3847:ffc64d285a96

mod_stats39: Advertise namespace as feature (not part of the XEP?)
author Kim Alvefur <zash@zash.se>
date Sun, 19 Jan 2020 19:31:43 +0100
parents 3941768916f1
children bac3dae031ee
line wrap: on
line diff
--- a/mod_stats39/mod_stats39.lua	Sun Jan 19 19:27:46 2020 +0100
+++ b/mod_stats39/mod_stats39.lua	Sun Jan 19 19:31:43 2020 +0100
@@ -2,6 +2,8 @@
 local st = require "util.stanza";
 local s_format = string.format;
 
+module:add_feature("http://jabber.org/protocol/stats");
+
 module:hook("iq/host/http://jabber.org/protocol/stats:query", function (event)
 	local origin, stanza = event.origin, event.stanza;
 	local stats, _, extra = statsman.get_stats();