From 04e095eb1ba35710afaad1ae63b839c3b68b601c Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 22 Sep 2025 16:46:37 -0300 Subject: [PATCH] "a" deletions split only 3. see https://github.com/fiatjaf/khatru/pull/60 --- khatru/deleting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/khatru/deleting.go b/khatru/deleting.go index 31805a9..905d185 100644 --- a/khatru/deleting.go +++ b/khatru/deleting.go @@ -23,7 +23,7 @@ func (rl *Relay) handleDeleteRequest(ctx context.Context, evt nostr.Event) error } f = nostr.Filter{IDs: []nostr.ID{id}} case "a": - spl := strings.Split(tag[1], ":") + spl := strings.SplitN(tag[1], ":", 3) if len(spl) != 3 { continue }