Skip to content

Commit

Permalink
Add keepEvents and meetingKeepEvents to the creation data to fix events
Browse files Browse the repository at this point in the history
  • Loading branch information
keevan committed Jun 3, 2021
1 parent c1f25bd commit 65c5403
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bbb_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,17 @@ function bigbluebuttonbn_bbb_view_create_meeting_data(&$bbbsession) {
if ($bbbsession['lockonjoinconfigurable']) {
$data['lockSettingsLockOnJoinConfigurable'] = 'true';
}
// Check global mod settings first, otherwise check activity instance settings
// Check global mod settings first, otherwise check activity instance settings.
if (
\mod_bigbluebuttonbn\locallib\config::get('participant_guest_requires_moderator_approval')
|| $bbbsession['bigbluebuttonbn']->moderatorapproval
) {
$data['guestPolicy'] = 'ASK_MODERATOR';
}
// Ensure meeting events are stored such that the BBB server can push meeting events back once it ends.
if ((boolean) \mod_bigbluebuttonbn\locallib\config::get('meetingevents_enabled')) {
$data['meetingKeepEvents'] = 'true'; // Option added as per PR #11681.
}
return $data;
}

Expand Down

0 comments on commit 65c5403

Please sign in to comment.