From 8068c81e2e234d2d6150108a9d64b9b7172ae624 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Sun, 4 Oct 2015 14:44:40 +0200 Subject: [PATCH] Fixed participant count --- public/js/cryptalk_modules/room.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/cryptalk_modules/room.js b/public/js/cryptalk_modules/room.js index 3e6643c..5c520b5 100644 --- a/public/js/cryptalk_modules/room.js +++ b/public/js/cryptalk_modules/room.js @@ -62,7 +62,7 @@ define({ count = function() { if (room) { - mediator.emit('socket:emit', 'room:count'); + mediator.emit('socket:emit', {data: 'room:count'}); } else { mediator.emit('console:error', templates.messages.not_in_room); }