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
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-03-08 11:59:22 +0300
committerJoas Schilling <coding@schilljs.com>2021-03-08 13:56:21 +0300
commit1bb090a483f1ac7e3dda4f0b0f42fc1cc73d857e (patch)
tree836a8a8d0f44c69a9c8816e9d80d3677a549a706 /src/utils/signaling.js
parentbaa154761e2e88ce014687ab0c4eedb98aef1038 (diff)
No duplicate session warning per se
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/utils/signaling.js')
-rw-r--r--src/utils/signaling.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/utils/signaling.js b/src/utils/signaling.js
index af501fe5e..1e615312c 100644
--- a/src/utils/signaling.js
+++ b/src/utils/signaling.js
@@ -1072,10 +1072,7 @@ Signaling.Standalone.prototype.processRoomEvent = function(data) {
delete leftUsers[joinedUsers[i].sessionid]
if (this.settings.userId && joinedUsers[i].userid === this.settings.userId) {
- if (this.ownSessionJoined && joinedUsers[i].sessionid !== this.sessionId) {
- console.error('Duplicated session detected for the same user.')
- EventBus.$emit('duplicateSessionDetected')
- } else if (joinedUsers[i].sessionid === this.sessionId) {
+ if (joinedUsers[i].sessionid === this.sessionId) {
// We are ignoring joins before we found our own message,
// as otherwise you get the warning for your own old session immediately
this.ownSessionJoined = true