From 1bb090a483f1ac7e3dda4f0b0f42fc1cc73d857e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 8 Mar 2021 09:59:22 +0100 Subject: [PATCH] No duplicate session warning per se Signed-off-by: Joas Schilling --- src/utils/signaling.js | 5 +---- 1 file changed, 1 insertion(+), 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