Commit 44c95964 authored by Tobias Gall's avatar Tobias Gall
Browse files

fix start room

parent 79ddf481
Pipeline #34901 failed with stage
......@@ -57,6 +57,8 @@ module Joiner
opts[:require_moderator_approval] = room_setting_with_config("requireModeratorApproval")
opts[:mute_on_start] = room_setting_with_config("muteOnStart")
opts[:meeting_recorded] = room_setting_with_config("allowRecording")
opts[:need_authentication] = room_setting_with_config("needAuthentication")
if current_user
redirect_to join_path(@room, current_user.name, opts, current_user.uid)
......@@ -106,6 +108,10 @@ module Joiner
"Room Configuration All Join Moderator"
when "anyoneCanStart"
"Room Configuration Allow Any Start"
when "allowRecording"
"Room Configuration Allow Recording"
when "needAuthentication"
"Room Configuration Require Authentication"
end
case @settings.get_value(config)
......
......@@ -70,6 +70,10 @@ class Setting < ApplicationRecord
room_config_setting("anyone-can-start")
when "Room Configuration All Join Moderator"
room_config_setting("all-join-moderator")
when "Room Configuration Allow Recording"
room_config_setting("meeting-recorded")
when "Room Configuration Require Authentication"
room_config_setting("need-authentication")
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment