Mercurial > prosody-modules
view mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua @ 4610:342664061c9b
mod_http_upload: Fix issuing slots to components or other non-c2s sessions
The 'full_jid' property only exists on local c2s sessions. This was not
adjusted for in 0a56dc6c61af, so it did not work.
Thanks Fren__ for highlighting the issue.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 01 Jul 2021 16:17:35 +0200 |
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);