forked from External/greenlight
shorten is_running?
This commit is contained in:
parent
11a61180ed
commit
140547d035
|
@ -22,12 +22,7 @@ class Room < ApplicationRecord
|
||||||
|
|
||||||
# Checks if a room is running on the BigBlueButton server.
|
# Checks if a room is running on the BigBlueButton server.
|
||||||
def is_running?
|
def is_running?
|
||||||
begin
|
bbb.is_meeting_running?(bbb_id)
|
||||||
bbb.get_meeting_info(bbb_id, nil)
|
|
||||||
return true
|
|
||||||
rescue BigBlueButton::BigBlueButtonException => exc
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Determines the invite URL for the room.
|
# Determines the invite URL for the room.
|
||||||
|
|
Loading…
Reference in New Issue