X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmuc%2Fmuc.lib.lua;h=337d2ae41f364a48f291f6cac4c54f47e5fddaf0;hb=9d986cb78caf1ccfea214052e80f0b2d345c4b2a;hp=8efa295e31cc241926933422eb1f05f810802f9f;hpb=6efbd878b200c87080a4121283809df8f882bbba;p=prosody.git 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