# HG changeset patch # User daurnimator # Date 1401384461 14400 # Node ID cabeff5fc68774df968368034a28b10db2b66263 # Parent 2df9e7a67e569197238837432a7dcd3474bee7e8 plugins/muc/muc.lib: Fire event for presence broadcast diff -r 2df9e7a67e56 -r cabeff5fc687 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Wed May 21 13:19:57 2014 -0400 +++ b/plugins/muc/muc.lib.lua Thu May 29 13:27:41 2014 -0400 @@ -207,6 +207,9 @@ return get_base_presence(occupant):add_child(x), x; end local full_p, full_x = get_presence(false); + + module:fire_event("muc-broadcast-presence", {room = self; stanza = full_p; x = full_x;}); + local anon_p, anon_x; local function get_anon_p() if anon_p == nil then