handle ending meeting when it doesn't exist

This commit is contained in:
Zachary Chai 2017-03-17 15:07:20 -04:00
parent 59be45c875
commit 9901904d2a
1 changed files with 1 additions and 1 deletions

View File

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