Closed palkan closed 1 year ago
Without invoking success_callback, subscription confirmation is never sent to the client: https://github.com/rails/rails/blob/main/actioncable/lib/action_cable/channel/streams.rb#L91
Offtopic: why not using Rails' SubscriberMap to maintain subscribers and perform local broadcasts? I think, it could simplify the implantation (and prevent from such incompatibilities, too).
I tested this patch and I can confirm it fixes #23
Without invoking success_callback, subscription confirmation is never sent to the client: https://github.com/rails/rails/blob/main/actioncable/lib/action_cable/channel/streams.rb#L91
Offtopic: why not using Rails' SubscriberMap to maintain subscribers and perform local broadcasts? I think, it could simplify the implantation (and prevent from such incompatibilities, too).