From c416b0625252b53346803d8d5b6085ff39dcb58f Mon Sep 17 00:00:00 2001 From: Ali Hadi Mazeh Date: Wed, 5 Jun 2024 13:07:35 -0400 Subject: [PATCH] Added loginURL feature as a param, and fixed corresponding rspec test --- app/services/meeting_starter.rb | 1 + spec/services/meeting_starter_spec.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/app/services/meeting_starter.rb b/app/services/meeting_starter.rb index 105c59bf71..1b7fb26833 100644 --- a/app/services/meeting_starter.rb +++ b/app/services/meeting_starter.rb @@ -63,6 +63,7 @@ def computed_options(access_code:) moderator_message += "
#{I18n.t('meeting.access_code', code: access_code, locale: @current_user&.language&.to_sym)}" if access_code.present? { moderatorOnlyMessage: moderator_message, + loginURL: room_url, logoutURL: room_url, meta_endCallbackUrl: meeting_ended_url(host: @base_url), 'meta_bbb-recording-ready-url': recording_ready_url(host: @base_url), diff --git a/spec/services/meeting_starter_spec.rb b/spec/services/meeting_starter_spec.rb index 3ef0a68670..254c77e5ef 100644 --- a/spec/services/meeting_starter_spec.rb +++ b/spec/services/meeting_starter_spec.rb @@ -39,6 +39,7 @@ url = File.join(base_url, '/rooms/', room.friendly_id, '/join') { moderatorOnlyMessage: "#{I18n.t('meeting.moderator_message', locale: user.language.to_sym)}
#{url}", + loginURL: url, logoutURL: url, meta_endCallbackUrl: File.join(base_url, '/meeting_ended'), 'meta_bbb-recording-ready-url': File.join(base_url, '/recording_ready'),