aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2014-05-30 18:31:26 -0400
committerWaqas Hussain <waqas20@gmail.com>2014-05-30 18:31:26 -0400
commit3799eafb2f66e9c279a0786dc54202cf54d20cca (patch)
tree59370adf5df2897187413c389dcbe391223d906e
parented9c56bd85bb93b747d123b8ba87e4258ba31080 (diff)
parent0c26e52848bb6c5509f8507b4e6933c4f3051125 (diff)
downloadprosody-3799eafb2f66e9c279a0786dc54202cf54d20cca.tar.gz
prosody-3799eafb2f66e9c279a0786dc54202cf54d20cca.zip
Merge with daurnimator
-rw-r--r--plugins/muc/muc.lib.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 0b361763..1fc922d4 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -207,6 +207,9 @@ function room_mt:publicise_occupant_status(occupant, base_x, nick, actor, reason
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