Merge pull request #148 from zach-chai/end_meeting

handle ending meeting when it doesn't exist
This commit is contained in:
Zachary Chai 2017-03-17 15:15:05 -04:00 committed by GitHub
commit 89d8c9170e
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class BbbController < ApplicationController
load_and_authorize_room_owner!
bbb_res = bbb_end_meeting "#{@user.encrypted_id}-#{params[:id]}"
if bbb_res[:returncode]
if bbb_res[:returncode] || bbb_res[:status] == :not_found
EndMeetingJob.perform_later(@user.encrypted_id, params[:id])
end
render_bbb_response bbb_res