Skip to content

Commit

Permalink
Added loginURL feature as a param, and fixed corresponding rspec test (
Browse files Browse the repository at this point in the history
  • Loading branch information
alihadimazeh authored Jun 5, 2024
1 parent 2164387 commit c4fcac0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/services/meeting_starter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def computed_options(access_code:)
moderator_message += "<br>#{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),
Expand Down
1 change: 1 addition & 0 deletions spec/services/meeting_starter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)}<br>#{url}",
loginURL: url,
logoutURL: url,
meta_endCallbackUrl: File.join(base_url, '/meeting_ended'),
'meta_bbb-recording-ready-url': File.join(base_url, '/recording_ready'),
Expand Down

0 comments on commit c4fcac0

Please sign in to comment.