COUNT should not be subscribable

This commit is contained in:
Yasuhiro Matsumoto 2023-05-18 09:50:06 +09:00 committed by fiatjaf_
parent 639c210661
commit f328910ab6

View File

@ -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)