forked from External/greenlight
Show a browser notification when a user is waiting to join a room
The owner of a room receives a browser notification if he has the page open and another person tries to join his room.
This commit is contained in:
@ -15,4 +15,8 @@
|
||||
# with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
module UsersHelper
|
||||
def is_room_owner
|
||||
token = current_user ? current_user.encrypted_id : nil
|
||||
token.present? && params[:id].present? && token == params[:id]
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user