You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -60,3 +60,9 @@ var private_channel = dispatcher.subscribe_private('channel_name', function() {
console.log( "Authorization failed because "+reason.message );
});
```
By default, all subscribers in to a channel will be removed when that channel is made private. If you don't wish active subscribers to be removed from a previously public channel when making it private, uncomment and set the following in config/initializers/websocket_rails.rb to true.
There are no files selected for viewing