forked from External/greenlight
GRN2-129: Added server recordings and refactored adminsitrator panel (#662)
* Added server recordings and refactored adminsitrator panel * Fixed some issues * Fixed issue with owner email search * Fixed issue with edit user
This commit is contained in:
committed by
Jesus Federico
parent
8c63f793a5
commit
a055b88eb7
@ -12,15 +12,9 @@ module BbbApi
|
||||
end
|
||||
|
||||
# Sets a BigBlueButtonApi object for interacting with the API.
|
||||
def bbb
|
||||
def bbb(user_provider)
|
||||
if Rails.configuration.loadbalanced_configuration
|
||||
if instance_of? Room
|
||||
# currently in the Room Model
|
||||
user_domain = retrieve_provider_info(owner.provider)
|
||||
elsif instance_of? User
|
||||
# currently in the User Model
|
||||
user_domain = retrieve_provider_info(provider)
|
||||
end
|
||||
user_domain = retrieve_provider_info(user_provider)
|
||||
|
||||
BigBlueButton::BigBlueButtonApi.new(remove_slash(user_domain["apiURL"]), user_domain["secret"], "0.8")
|
||||
else
|
||||
|
Reference in New Issue
Block a user