move WaitingList.empty() to controller

This commit is contained in:
Josh
2017-07-04 14:51:24 -04:00
parent d774200296
commit 9bbb669cc1
2 changed files with 1 additions and 3 deletions

View File

@ -92,7 +92,7 @@ class BbbController < ApplicationController
if user
if bbb_res[:returncode] && current_user == user
JoinMeetingJob.perform_later(user, params[:id], base_url)
WaitingList.empty(options[:room_owner], options[:meeting_name])
# user will be waiting for a moderator
else
NotifyUserWaitingJob.perform_later(user.encrypted_id, params[:id], params[:name])