forked from External/greenlight
Only pass muteOnStart if set to true (#2401)
This commit is contained in:
parent
cf3b450743
commit
752b192ef9
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue