forked from External/greenlight
room updates in job
This commit is contained in:
9
app/jobs/join_meeting_job.rb
Normal file
9
app/jobs/join_meeting_job.rb
Normal file
@ -0,0 +1,9 @@
|
||||
class JoinMeetingJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
def perform(room)
|
||||
ActionCable.server.broadcast "#{room}_meeting_updates_channel",
|
||||
action: 'moderator_joined',
|
||||
moderator: 'joined'
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user