fix(assist): added random tabID for prev version

This commit is contained in:
Alexander Zavorotynskiy 2023-06-06 11:54:05 +02:00
parent 4d839b241b
commit 104fb2448b

View file

@ -267,7 +267,7 @@ module.exports = {
socket.peerId = socket.handshake.query.peerId;
socket.roomId = extractRoomId(socket.peerId);
if (connTabId === null) {
connTabId = "back-compatibility";
connTabId = (Math.random() + 1).toString(36).substring(2);
}
socket.tabId = connTabId;
socket.identity = socket.handshake.query.identity;