[Common] fixed counting online users

This commit is contained in:
Maxim Kadushkin 2017-03-13 19:01:32 +03:00
parent 02b779a0eb
commit 8de318a9b1

View file

@ -54,7 +54,7 @@ define([
getOnlineCount: function() {
var count = 0;
this.each(function(user){
user.online && count++;
user.get('online') && ++count;
});
return count;