Skip to content

Commit

Permalink
feat: Adds an event for host arrived.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Sep 21, 2023
1 parent 37e1380 commit ef56b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/prosody-plugins/mod_muc_wait_for_host.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ module:hook('muc-occupant-pre-join', function (event)
module:log('info', 'Host %s arrived in %s.', occupant.bare_jid, room.jid);
audit_logger('room_jid:%s created_by:%s', room.jid,
session.jitsi_meet_context_user and session.jitsi_meet_context_user.id or 'nil');
module:fire_event('room_host_arrived', room.jid, session);
lobby_host:fire_event('destroy-lobby-room', {
room = room,
newjid = room.jid,
Expand Down

0 comments on commit ef56b3c

Please sign in to comment.