aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/app
diff options
context:
space:
mode:
Diffstat (limited to 'actioncable/app')
-rw-r--r--actioncable/app/assets/javascripts/action_cable/connection.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/actioncable/app/assets/javascripts/action_cable/connection.coffee b/actioncable/app/assets/javascripts/action_cable/connection.coffee
index 4244322a1e..8cab6a301f 100644
--- a/actioncable/app/assets/javascripts/action_cable/connection.coffee
+++ b/actioncable/app/assets/javascripts/action_cable/connection.coffee
@@ -75,6 +75,8 @@ class ActionCable.Connection
{identifier, message, type} = JSON.parse(event.data)
switch type
+ when message_types.welcome
+ @consumer.subscriptions.notify(@consumer.connectionMonitor, "connected")
when message_types.confirmation
@consumer.subscriptions.notify(identifier, "connected")
when message_types.rejection