file uploads and bug fixes

This commit is contained in:
Zoe
2025-09-14 20:48:02 -05:00
parent 7fca00698a
commit 4ddc5c526b
17 changed files with 895 additions and 142 deletions

View File

@@ -38,6 +38,12 @@
type: WebSocketMessageType.LEAVE_ROOM,
roomId: $room.id,
});
$peer?.close();
peer.set(null);
room.update((room) => ({
...room,
connectionState: ConnectionState.DISCONNECTED,
}));
}
$ws.send({ type: WebSocketMessageType.CREATE_ROOM }); // send a message when the button is clicked
}}>Create Room</button