From 15936855e965375ba2a2e5e28d33e799bbb471c3 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Sat, 3 May 2014 08:50:06 -0500 Subject: [PATCH] * fixing yet another bug associated with websockets and reconnect --- websocket-gateway/lib/jam_websockets/router.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-gateway/lib/jam_websockets/router.rb b/websocket-gateway/lib/jam_websockets/router.rb index 3b424517c..33f719fcf 100644 --- a/websocket-gateway/lib/jam_websockets/router.rb +++ b/websocket-gateway/lib/jam_websockets/router.rb @@ -642,7 +642,7 @@ module JamWebsockets ConnectionManager.active_record_transaction do |connection_manager| - heartbeat_interval, connection_stale_time, connection_expire_time = determine_connection_times(context.user, client_type) + heartbeat_interval, connection_stale_time, connection_expire_time = determine_connection_times(context.user, context.client_type) connection_manager.reconnect(connection, connection.music_session_id, nil, connection_stale_time, connection_expire_time) end if connection.stale? end