Software /
code /
prosody
Diff
plugins/muc/muc.lib.lua @ 10804:4dc57789f51b
Fixes #1533 Hats don't get sent out to own MUC user
author | JC Brand <jc@opkode.com> |
---|---|
date | Wed, 22 Apr 2020 16:04:03 +0200 |
parent | 10757:9dec7cddb40b |
child | 10805:d17392022cb2 |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Wed May 06 18:03:20 2020 +0200 +++ b/plugins/muc/muc.lib.lua Wed Apr 22 16:04:03 2020 +0200 @@ -312,6 +312,7 @@ else -- use their own presences as templates for full_jid, pr in occupant:each_session() do + module:fire_event("muc-build-occupant-presence", { room = self, occupant = occupant, stanza = pr }); pr = st.clone(pr); pr.attr.to = full_jid; pr:add_child(self_x);