We have a method like this:
ActionCable.server.broadcast "some_channel", message: "blah-blah"
But in this way the message will be sent to all the subscribed users,
including the current user.
Can't we have one like
which broadcasts to everybody but himself, or
ActionCable.server.broadcast_except(subscriber, channel, body)
or some method?
I've tried to look at the source, but ActionCable holds the subscribers as
an Array so i was hard to work with it..
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.