diff options
author | Kim Alvefur <zash@zash.se> | 2016-04-28 22:57:53 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-04-28 22:57:53 +0200 |
commit | 8e308d19855c488503bca65fd170ef1969dcf9fc (patch) | |
tree | 9c8c747c7cb54e24dc05e11dc1cd7046eb434a6b /plugins/muc/muc.lib.lua | |
parent | a1af9a870ed4259db71c495ccd0365954f958ff3 (diff) | |
download | prosody-8e308d19855c488503bca65fd170ef1969dcf9fc.tar.gz prosody-8e308d19855c488503bca65fd170ef1969dcf9fc.zip |
MUC: Add event for when room is done being created
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r-- | plugins/muc/muc.lib.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 8efa295e..337d2ae4 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -435,6 +435,12 @@ function room_mt:handle_first_presence(origin, stanza) origin = origin; jid = real_jid; }); + module:fire_event("muc-room-created", { + room = self; + creator = dest_occupant; + stanza = stanza; + origin = origin; + }); return true; end |