forked from External/greenlight
fix recording update channel and routes
This commit is contained in:
@ -16,6 +16,11 @@
|
||||
|
||||
class RecordingUpdatesChannel < ApplicationCable::Channel
|
||||
def subscribed
|
||||
stream_from "#{params[:encrypted_id]}_recording_updates_channel"
|
||||
full_id = if params[:meeting_id].present?
|
||||
"#{params[:admin_id]}-#{params[:meeting_id]}"
|
||||
else
|
||||
params[:admin_id]
|
||||
end
|
||||
stream_from "#{full_id}_recording_updates_channel"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user