increased and organized event kinds

Archiver stopped saving regular events
This commit is contained in:
pippellia-btc
2025-09-15 14:04:26 +02:00
parent 938dd09c58
commit 416e735552
3 changed files with 35 additions and 9 deletions

View File

@@ -89,7 +89,7 @@ func Archiver(
switch {
case nostr.IsRegularKind(event.Kind):
return store.Save(opctx, event)
return nil // do nothing
case nostr.IsReplaceableKind(event.Kind):
replaced, err := store.Replace(opctx, event)