add user waiting notifications back to main room

This commit is contained in:
Zachary Chai
2017-02-16 14:24:55 -05:00
parent 74f1f4c071
commit 7adba52824
5 changed files with 20 additions and 10 deletions

View File

@ -78,8 +78,8 @@ class BbbController < ApplicationController
)
# the user can join the meeting
if bbb_res[:returncode] && user
if current_user == user
if user
if bbb_res[:returncode] && current_user == user
JoinMeetingJob.perform_later(user.encrypted_id, params[:id])
# user will be waiting for a moderator