[Common] fixed counting online users
This commit is contained in:
parent
02b779a0eb
commit
8de318a9b1
|
@ -54,7 +54,7 @@ define([
|
|||
getOnlineCount: function() {
|
||||
var count = 0;
|
||||
this.each(function(user){
|
||||
user.online && count++;
|
||||
user.get('online') && ++count;
|
||||
});
|
||||
|
||||
return count;
|
||||
|
|
Loading…
Reference in a new issue