mirror of
https://github.com/aljazceru/crawler_v2.git
synced 2025-12-17 07:24:21 +01:00
increased and organized event kinds
Archiver stopped saving regular events
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user