fix: second half of connectToInstance

This commit is contained in:
KernelDeimos 2024-09-18 21:02:51 -04:00
parent cb324cc125
commit 4311b482fd

View File

@ -482,7 +482,7 @@ class UI extends EventListener {
connection: e.data.appInstanceID, connection: e.data.appInstanceID,
accept: true, accept: true,
value, value,
}); }, '*');
}; };
const reject = value => { const reject = value => {
this.messageTarget?.postMessage({ this.messageTarget?.postMessage({
@ -490,7 +490,7 @@ class UI extends EventListener {
connection: e.data.appInstanceID, connection: e.data.appInstanceID,
accept: false, accept: false,
value, value,
}); }, '*');
}; };
this.emit('connection', { this.emit('connection', {
conn, accept, reject, conn, accept, reject,