forked from External/greenlight
combine channels for meeting updates
This commit is contained in:
5
app/channels/meeting_updates_channel.rb
Normal file
5
app/channels/meeting_updates_channel.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class MeetingUpdatesChannel < ApplicationCable::Channel
|
||||
def subscribed
|
||||
stream_from "#{params[:username]}_meeting_updates_channel"
|
||||
end
|
||||
end
|
@ -1,5 +0,0 @@
|
||||
class ModeratorJoinsChannel < ApplicationCable::Channel
|
||||
def subscribed
|
||||
stream_from "moderator_#{params[:username]}_join_channel"
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user