diff mod_turncredentials/mod_turncredentials.lua @ 1324:853a382c9bd6

mod_turncredentials: Advertise the XEP-0215 feature (thanks Gryffus)
author Kim Alvefur <zash@zash.se>
date Fri, 28 Feb 2014 15:36:06 +0100
parents a18effacd384
children b21236b6b8d8
line wrap: on
line diff
--- a/mod_turncredentials/mod_turncredentials.lua	Wed Feb 26 13:08:47 2014 -0800
+++ b/mod_turncredentials/mod_turncredentials.lua	Fri Feb 28 15:36:06 2014 +0100
@@ -15,6 +15,8 @@
     return;
 end
 
+module:add_feature("urn:xmpp:extdisco:1");
+
 module:hook("iq-get/host/urn:xmpp:extdisco:1:services", function(event)
     local origin, stanza = event.origin, event.stanza;
     if origin.type ~= "c2s" then