From df4c0fba2606875a0f50742d4ece9cf2396c63c8 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Fri, 11 Mar 2016 08:00:17 -0600 Subject: [PATCH] * sessionId fix --- .../javascripts/react-components/stores/SessionStore.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/assets/javascripts/react-components/stores/SessionStore.js.coffee b/web/app/assets/javascripts/react-components/stores/SessionStore.js.coffee index cde04af39..ce18d8551 100644 --- a/web/app/assets/javascripts/react-components/stores/SessionStore.js.coffee +++ b/web/app/assets/javascripts/react-components/stores/SessionStore.js.coffee @@ -1153,12 +1153,12 @@ ConfigureTracksActions = @ConfigureTracksActions logger.debug("client asks #{op} for #{data["id"]}") if op == "join" sessionId = data["id"] - if sessionId != @currentSessionId window.location = "/client#/session/" + sessionId else logger.debug("dropped #{op} because sessionId #{sessionId} matches currentSessionId") else if op == "leave" + sessionId = data["id"] if sessionId == @currentSessionId @onLeaveSession({location: '/client#/home'}) else