fix(assist): added random tabID for prev version
This commit is contained in:
parent
4d839b241b
commit
104fb2448b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue