From 2292ce4a304ffd1e2027d7e2067bf2b2f5d4ca02 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 3 Apr 2025 23:10:11 -0300 Subject: [PATCH] add missing return in repost protected clause. --- handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handlers.go b/handlers.go index 214436e..fc12657 100644 --- a/handlers.go +++ b/handlers.go @@ -200,6 +200,7 @@ func (rl *Relay) HandleWebsocket(w http.ResponseWriter, r *http.Request) { OK: false, Reason: "blocked: can't repost nip70 protected", }) + return } srl := rl