@@ -137,6 +137,10 @@ const server = Bun.serve<WSData>({
}
switch (msg.type) {
case "ping": {
ws.send(JSON.stringify({ type: "pong", timestamp: msg.timestamp }));
break;
case "create_room": {
const username = (msg.username || "").trim();
if (!username) {
The note is not visible to the blocked user.