Actually ignore the error if we were able to backfill events

This commit is contained in:
Till Faelligen 2023-03-06 17:45:21 +01:00
parent 7d83f8b633
commit a684b850b9
No known key found for this signature in database
GPG key ID: 3DF82D8AB9211D4E

View file

@ -133,9 +133,6 @@ func (r *Backfiller) backfillViaFederation(ctx context.Context, req *api.Perform
// persist these new events - auth checks have already been done // persist these new events - auth checks have already been done
roomNID, backfilledEventMap := persistEvents(ctx, r.DB, events) roomNID, backfilledEventMap := persistEvents(ctx, r.DB, events)
if err != nil {
return err
}
for _, ev := range backfilledEventMap { for _, ev := range backfilledEventMap {
// now add state for these events // now add state for these events