Skip to content

Commit

Permalink
Small fix for recording value
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad committed Oct 18, 2023
1 parent 8a15404 commit 101aa0b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/tasks/migrations/migrations.rake
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,11 @@ namespace :migrations do


# Sets Record to default_enabled in V3 if set to optional in V2
rooms_config_record_value = infer_room_config_value(setting.get_value('Room Configuration Recording'))
rooms_config_record_value = if setting.get_value("Require Recording Consent") != "true"
"true"
else
infer_room_config_value(setting.get_value('Room Configuration Recording'))
end

# RoomConfigurations
rooms_configurations = {
Expand Down

0 comments on commit 101aa0b

Please sign in to comment.