mirror of
https://github.com/fiatjaf/khatru.git
synced 2026-04-11 07:56:47 +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)
|
# khatru, a relay framework [](https://pkg.go.dev/github.com/fiatjaf/khatru#Relay)
|
||||||
|
|
||||||
[](https://github.com/fiatjaf/khatru/actions/workflows/test.yml)
|
[](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":
|
case "e":
|
||||||
f = nostr.Filter{IDs: []string{tag[1]}}
|
f = nostr.Filter{IDs: []string{tag[1]}}
|
||||||
case "a":
|
case "a":
|
||||||
spl := strings.Split(tag[1], ":")
|
spl := strings.SplitN(tag[1], ":", 3)
|
||||||
if len(spl) != 3 {
|
if len(spl) != 3 {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user