Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/models
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-09-07 14:26:38 +0300
committerJoas Schilling <coding@schilljs.com>2017-09-07 14:26:38 +0300
commitdfe37a07069d4f36111e8f3fa8b820ca043d5a00 (patch)
tree3fa4fb3ba200f44397e68a5fb7092a6fcde14aa9 /js/models
parent5fe5872995b1e7f2b6fee858bfa15e0a71598da1 (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.js2
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') !== '';
}
});