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