refactor save event method to expose whether it replaced an event
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user