forked from External/greenlight
join with specific id
This commit is contained in:
@ -88,8 +88,9 @@ class User < ApplicationRecord
|
||||
|
||||
private
|
||||
|
||||
# Initializes a room for the user.
|
||||
# Initializes a room for the user and assign a BigBlueButton user id.
|
||||
def initialize_main_room
|
||||
self.uid = "gl-#{(0...12).map { (65 + rand(26)).chr }.join.downcase}"
|
||||
self.main_room = Room.create!(owner: self, name: firstname + "'s Room")
|
||||
self.save
|
||||
end
|
||||
|
Reference in New Issue
Block a user