Software /
code /
prosody
Diff
plugins/mod_presence.lua @ 9790:4a419089ad00
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 17 Jan 2019 01:09:38 +0100 |
parent | 9677:d0cc1c4e1a1c |
parent | 9788:f47b2ab877d0 |
child | 10514:f0e9e5bda415 |
line wrap: on
line diff
--- a/plugins/mod_presence.lua Wed Jan 16 20:01:38 2019 +0100 +++ b/plugins/mod_presence.lua Thu Jan 17 01:09:38 2019 +0100 @@ -63,6 +63,7 @@ core_post_stanza(origin, stanza, true); end end + stanza.attr.to = nil; if stanza.attr.type == nil and not origin.presence then -- initial presence module:fire_event("presence/initial", { origin = origin, stanza = stanza } ); origin.presence = stanza; -- FIXME repeated later