shorten is_running?

This commit is contained in:
joshua-arts 2018-06-01 21:30:11 -04:00
parent 11a61180ed
commit 140547d035
1 changed files with 1 additions and 6 deletions

View File

@ -22,12 +22,7 @@ class Room < ApplicationRecord
# Checks if a room is running on the BigBlueButton server.
def is_running?
begin
bbb.get_meeting_info(bbb_id, nil)
return true
rescue BigBlueButton::BigBlueButtonException => exc
return false
end
bbb.is_meeting_running?(bbb_id)
end
# Determines the invite URL for the room.