refactored SaveEvent to return if it is replacing an event
Some checks failed
Go / build (push) Has been cancelled

This commit is contained in:
2025-10-10 22:18:53 +01:00
parent bc5177e0ec
commit 3c11aa6f01
25 changed files with 50 additions and 50 deletions

View File

@@ -422,7 +422,7 @@ func (f *Follows) startSubscriptions(ctx context.Context) {
)
}
if err, _ = f.D.SaveEvent(
if _, err = f.D.SaveEvent(
ctx, res.Event,
); err != nil {
if !strings.HasPrefix(