Software /
code /
prosody-modules
Changeset
1326:afae347928d8
mod_turncredentials: Advertise the XEP-0215 feature (thanks Gryffus)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Feb 2014 15:41:26 +0100 |
parents | 1325:b21236b6b8d8 |
children | 1327:b93f45c42044 |
files | mod_turncredentials/mod_turncredentials.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_turncredentials/mod_turncredentials.lua Fri Feb 28 15:37:55 2014 +0100 +++ b/mod_turncredentials/mod_turncredentials.lua Fri Feb 28 15:41:26 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