define a nostr.Kind type for event kinds, make adjustments everywhere and fix some horrible bugs with mmm, lmdb and badger querying and deleting.
This commit is contained in:
@@ -38,7 +38,7 @@ func (rl *Relay) handleDeleteRequest(ctx context.Context, evt nostr.Event) error
|
||||
|
||||
identifier := spl[2]
|
||||
f = nostr.Filter{
|
||||
Kinds: []uint16{uint16(kind)},
|
||||
Kinds: []nostr.Kind{nostr.Kind(kind)},
|
||||
Authors: []nostr.PubKey{author},
|
||||
Tags: nostr.TagMap{"d": []string{identifier}},
|
||||
Until: &evt.CreatedAt,
|
||||
|
||||
Reference in New Issue
Block a user