diff --git a/apps/common/main/lib/collection/Users.js b/apps/common/main/lib/collection/Users.js index 8a6bbfa65..546851549 100644 --- a/apps/common/main/lib/collection/Users.js +++ b/apps/common/main/lib/collection/Users.js @@ -54,7 +54,7 @@ define([ getOnlineCount: function() { var count = 0; this.each(function(user){ - user.online && count++; + user.get('online') && ++count; }); return count;