fix(assist): added random tabID for prev version (ee)
This commit is contained in:
parent
104fb2448b
commit
525a6b8337
2 changed files with 2 additions and 2 deletions
|
|
@ -318,7 +318,7 @@ module.exports = {
|
|||
socket.roomId = extractRoomId(socket.peerId);
|
||||
// Set default tabId for back compatibility
|
||||
if (connTabId === null) {
|
||||
connTabId = "back-compatibility"
|
||||
connTabId = (Math.random() + 1).toString(36).substring(2);
|
||||
}
|
||||
socket.tabId = connTabId;
|
||||
socket.identity = socket.handshake.query.identity;
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ module.exports = {
|
|||
socket.roomId = extractRoomId(socket.peerId);
|
||||
// Set default tabId for back compatibility
|
||||
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