mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-17 07:10:51 +01:00
Actually ignore the error if we were able to backfill events
This commit is contained in:
parent
7d83f8b633
commit
a684b850b9
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue