diff --git a/services/real-time/app/coffee/WebsocketController.coffee b/services/real-time/app/coffee/WebsocketController.coffee index af7b6aac98..4e537a664e 100644 --- a/services/real-time/app/coffee/WebsocketController.coffee +++ b/services/real-time/app/coffee/WebsocketController.coffee @@ -113,7 +113,7 @@ module.exports = WebsocketController = AuthorizationManager.assertClientCanViewProject client, (error) -> if error? logger.warn {client_id: client.id, project_id, user_id}, "silently ignoring unauthorized updateClientPosition. Client likely hasn't called joinProject yet." - callback() + return callback() cursorData.id = client.id cursorData.user_id = user_id if user_id? cursorData.email = email if email?