change room name for direct room

This commit is contained in:
Peter Maquiran
2024-08-29 20:43:57 +01:00
parent feea78fd59
commit 55539eb596
8 changed files with 169 additions and 75 deletions
-12
View File
@@ -1,12 +0,0 @@
// src/shared-worker.js
self.onconnect = function (event) {
const port = event.ports[0];
port.onmessage = function (e) {
const message = e.data;
console.log('Received from client:', message);
// Echo the message back to all connected clients
port.postMessage('Echo: ' + message);
}
}