forked from External/greenlight
Fixed server recordings 500 if user doesn't have an email (#1254)
Co-authored-by: Jesus Federico <jesus@123it.ca>
This commit is contained in:
@ -21,7 +21,7 @@ module AdminsHelper
|
||||
|
||||
# Gets the email of the room owner to which the recording belongs to
|
||||
def recording_owner_email(room_id)
|
||||
Room.find_by(bbb_id: room_id).owner.email
|
||||
Room.find_by(bbb_id: room_id).owner.email.presence || Room.find_by(bbb_id: room_id).owner.username
|
||||
end
|
||||
|
||||
def admin_invite_registration
|
||||
|
Reference in New Issue
Block a user