removed update_peers event on sessions

parent d01deb37
......@@ -367,7 +367,9 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr
//
// websockets events handling (Dashboard)
//
/*
io.socket.on('update_peers', function (data) {
if($scope.ws && $scope.sessionRunning && $scope.actual_try.actions && $scope.flags.paused == false && data.pcb_count<1) {
$scope.pause_ws();
$scope.pauseTimer();
......@@ -377,8 +379,9 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr
dismissButton: true
});
}
});
});
*/
// Remove all listeners to this event
io.socket.off('action');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment