fix(assist): fixed broken assist call/remote control functionality
This commit is contained in:
parent
fd0ed08fe3
commit
938914be99
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ async function onAny(socket, eventName, ...args) {
|
||||||
// Back compatibility (add top layer with meta information)
|
// Back compatibility (add top layer with meta information)
|
||||||
function updateSessionData(socket, sessionData) {
|
function updateSessionData(socket, sessionData) {
|
||||||
if (sessionData?.meta === undefined && socket.handshake.query.identity === IDENTITIES.session) {
|
if (sessionData?.meta === undefined && socket.handshake.query.identity === IDENTITIES.session) {
|
||||||
sessionData = {meta: {tabId: socket.tabId, version: 1}, data: sessionData};
|
sessionData = {meta: {tabId: socket.handshake.query.tabId, version: 1}, data: sessionData};
|
||||||
}
|
}
|
||||||
return sessionData
|
return sessionData
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue