Skip to content
Snippets Groups Projects
Unverified Commit 752b192e authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Only pass muteOnStart if set to true (#2401)

parent cf3b4507
No related branches found
No related tags found
No related merge requests found
......@@ -66,13 +66,13 @@ module BbbServer
moderatorPW: room.moderator_pw,
attendeePW: room.attendee_pw,
moderatorOnlyMessage: options[:moderator_message],
muteOnStart: options[:mute_on_start] || false,
"meta_#{META_LISTED}": options[:recording_default_visibility] || false,
"meta_bbb-origin-version": Greenlight::Application::VERSION,
"meta_bbb-origin": "Greenlight",
"meta_bbb-origin-server-name": options[:host]
}
create_options[:muteOnStart] = options[:mute_on_start] if options[:mute_on_start]
create_options[:guestPolicy] = "ASK_MODERATOR" if options[:require_moderator_approval]
# Send the create request.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment