Changeset

6267:8dc9a89ada7d

Merge with daurnimator
author Waqas Hussain <waqas20@gmail.com>
date Fri, 30 May 2014 18:31:26 -0400 (2014-05-30)
parents 6265:f8945a030bc6 (current diff) 6266:cabeff5fc687 (diff)
children 6268:23cb8a78ecc6
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Wed May 28 22:09:32 2014 +0200
+++ b/plugins/muc/muc.lib.lua	Fri May 30 18:31:26 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