fix
All checks were successful
Create and publish a Docker image 🚀 / build-and-push-image (push) Successful in 1m35s

This commit is contained in:
Smile Rex
2026-01-26 19:54:25 +03:00
parent 06a6b70467
commit b013285408
3 changed files with 32 additions and 14 deletions

View File

@@ -20,7 +20,7 @@ func wsHandler(w http.ResponseWriter, r *http.Request) {
}
peer := NewPeer(conn, room)
room.Add(peer)
room.AddPeer(peer)
go peer.ReadLoop()
}