From c203ba63e675b4a3de08f5f38232e1d7ce259963 Mon Sep 17 00:00:00 2001 From: agent Date: Wed, 3 Jun 2026 21:19:48 +0200 Subject: [PATCH] chore: remove dead roomFor method in playground server --- playground/server.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/playground/server.go b/playground/server.go index 1cfd61f..5415265 100644 --- a/playground/server.go +++ b/playground/server.go @@ -122,13 +122,6 @@ func (p *peerState) setRoom(roomID string, info roomInfo) { p.mu.Unlock() } -func (p *peerState) roomFor(roomID string) (roomInfo, bool) { - p.mu.Lock() - defer p.mu.Unlock() - info, ok := p.rooms[roomID] - return info, ok -} - // --------------------------------------------------------------------------- // Hub: the registry of peers, protected by a single mutex. // ---------------------------------------------------------------------------