diff --git a/lib/tasks/migrations/migrations.rake b/lib/tasks/migrations/migrations.rake index 6c4b8bca82..8450e664f0 100755 --- a/lib/tasks/migrations/migrations.rake +++ b/lib/tasks/migrations/migrations.rake @@ -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 = {