diff options
author | Joas Schilling <coding@schilljs.com> | 2017-09-07 14:26:38 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-09-07 14:26:38 +0300 |
commit | dfe37a07069d4f36111e8f3fa8b820ca043d5a00 (patch) | |
tree | 3fa4fb3ba200f44397e68a5fb7092a6fcde14aa9 /js/models | |
parent | 5fe5872995b1e7f2b6fee858bfa15e0a71598da1 (diff) |
Use same online detection as before
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'js/models')
-rw-r--r-- | js/models/participant.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/models/participant.js b/js/models/participant.js index 7b046a3b1..b0dee09c5 100644 --- a/js/models/participant.js +++ b/js/models/participant.js @@ -36,7 +36,7 @@ }, isOnline: function() { - return this.get('lastPing') >= moment().format('X') - 60; + return this.get('sessionId') !== ''; } }); |