plugins/muc/muc.lib.lua
changeset 6266 cabeff5fc687
parent 6253 2df9e7a67e56
child 6267 8dc9a89ada7d
--- 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