"a" deletions split only 3.
see https://github.com/fiatjaf/khatru/pull/60
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user