Skip to content

Commit

Permalink
LTI-326: Fixed errors with the rooms_controller lines disappearing (#301
Browse files Browse the repository at this point in the history
)

Co-authored-by: Jesus Federico <[email protected]>
  • Loading branch information
ahmed-abdou1 and jfedericobn authored May 8, 2024
1 parent c0df9fd commit 32e2e3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/controllers/concerns/bbb_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def join_meeting_url
join_options = {}
join_options[:createTime] = meeting_info[:createTime]
join_options[:userID] = @user.uid
join_options[:avatarURL] = @user.user_image
bbb.join_meeting_url(@chosen_room.handler, @user.username(t("default.bigbluebutton.#{role}")), @chosen_room.attributes[role], join_options)
end

Expand Down
1 change: 1 addition & 0 deletions app/controllers/rooms_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ def launch_params_to_new_user_params(launch_params)
email: launch_params['lis_person_contact_email_primary'],
roles: launch_params['roles'],
locale: launch_params['launch_presentation_locale'],
user_image: launch_params['user_image'],
}
end

Expand Down
2 changes: 1 addition & 1 deletion lib/bbb_app_rooms/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

module BbbAppRooms
class User
attr_accessor :uid, :full_name, :first_name, :last_name, :email, :roles, :locale
attr_accessor :uid, :full_name, :first_name, :last_name, :email, :roles, :locale, :user_image

def initialize(params)
params.each do |key, value|
Expand Down

0 comments on commit 32e2e3f

Please sign in to comment.