From 101aa0b6b156f5dfbe806388037d1474746d637f Mon Sep 17 00:00:00 2001 From: farhatahmad Date: Wed, 18 Oct 2023 14:51:44 -0400 Subject: [PATCH] Small fix for recording value --- lib/tasks/migrations/migrations.rake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 = {