Switch to squirrel

This commit is contained in:
Jon Staab
2025-09-24 16:21:26 -07:00
parent 9b927842a2
commit 307dcda4a7
8 changed files with 65 additions and 93 deletions
-3
View File
@@ -8,9 +8,6 @@ import (
)
func (s *SqliteBackend) ReplaceEvent(evt nostr.Event) error {
s.Lock()
defer s.Unlock()
filter := nostr.Filter{Kinds: []nostr.Kind{evt.Kind}, Authors: []nostr.PubKey{evt.PubKey}}
if evt.Kind.IsAddressable() {
filter.Tags = nostr.TagMap{"d": []string{evt.Tags.GetD()}}