Mercurial > prosody-modules
view mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua @ 4396:de55e1475808
mod_http_admin_api: re-add information about invite creator
It is now the JID of the user + a made up resource indicating
that it was the admin API.
author | Jonas Schäfer <jonas@wielicki.name> |
---|---|
date | Tue, 26 Jan 2021 16:10:11 +0100 |
parents | aed47ebd26d3 |
children |
line wrap: on
line source
module:hook("message/host", function (event) local stanza = event.stanza; if #stanza.tags == 1 and stanza.tags[1].attr.xmlns == "http://jabber.org/protocol/chatstates" then return true; end end, -10);