mirror of
https://github.com/fiatjaf/khatru.git
synced 2026-04-09 06:56:55 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f99b9827a | ||
|
|
8d5fc324f7 |
@@ -1,3 +1,11 @@
|
||||
<div>
|
||||
<p><b>This repository is in maintenance mode and adventurous programmers are encouraged to try <a href="https://pkg.go.dev/fiatjaf.com/nostr/khatru"><code>fiatjaf.com/nostr/khatru@master</code></a> instead.</b></p>
|
||||
|
||||
<p>The core codebase and functionality are the same, but the API breaks a little bit (for good reason) and there are some new features.</p>
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
# khatru, a relay framework [](https://pkg.go.dev/github.com/fiatjaf/khatru#Relay)
|
||||
|
||||
[](https://github.com/fiatjaf/khatru/actions/workflows/test.yml)
|
||||
|
||||
@@ -19,7 +19,7 @@ func (rl *Relay) handleDeleteRequest(ctx context.Context, evt *nostr.Event) erro
|
||||
case "e":
|
||||
f = nostr.Filter{IDs: []string{tag[1]}}
|
||||
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