refactor save event method to expose whether it replaced an event

This commit is contained in:
2025-10-10 22:16:07 +01:00
parent 0cdf44c2c9
commit bc5177e0ec
25 changed files with 368 additions and 289 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(