From f328910ab6e6e6a23d262e9dbab4d2544bcd1a8d Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Thu, 18 May 2023 09:50:06 +0900 Subject: [PATCH] COUNT should not be subscribable --- handlers.go | 1 - 1 file changed, 1 deletion(-) diff --git a/handlers.go b/handlers.go index 8fddd8c..6232dc2 100644 --- a/handlers.go +++ b/handlers.go @@ -237,7 +237,6 @@ func (s *Server) HandleWebsocket(w http.ResponseWriter, r *http.Request) { } ws.WriteJSON([]interface{}{"COUNT", id, map[string]int64{"count": total}}) - setListener(id, ws, filters) case "REQ": var id string json.Unmarshal(request[1], &id)