Fixed participant count
This commit is contained in:
parent
c0408a614f
commit
8068c81e2e
|
@ -62,7 +62,7 @@ define({
|
||||||
|
|
||||||
count = function() {
|
count = function() {
|
||||||
if (room) {
|
if (room) {
|
||||||
mediator.emit('socket:emit', 'room:count');
|
mediator.emit('socket:emit', {data: 'room:count'});
|
||||||
} else {
|
} else {
|
||||||
mediator.emit('console:error', templates.messages.not_in_room);
|
mediator.emit('console:error', templates.messages.not_in_room);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue