Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
refactor: remove leftover code from prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
leia-uwu committed Oct 6, 2024
1 parent fd6d24a commit 52dfed9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/src/teamMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,6 @@ export class TeamMenu {
break;
}
case "join": {
if (typeof parsedMessage.data !== "object") return;
if (typeof parsedMessage.data.roomUrl !== "string") return;

const roomUrl = `#${parsedMessage.data.roomUrl}`;
const room = this.rooms.get(roomUrl);
// join fail if room doesnt exist or if room is already full
Expand Down

0 comments on commit 52dfed9

Please sign in to comment.