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); }