aboutsummaryrefslogtreecommitdiff
path: root/roomserver/internal
diff options
context:
space:
mode:
authorTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-03-06 17:45:21 +0100
committerTill Faelligen <2353100+S7evinK@users.noreply.github.com>2023-03-06 17:45:21 +0100
commita684b850b9dccc12121c6ff314c1ecd660f8c9a2 (patch)
treed0e9c77dd984139fa05ac82d863e8b7519e5b044 /roomserver/internal
parent7d83f8b6332cc41f0ac721d014aaad535069282f (diff)
Actually ignore the error if we were able to backfill events
Diffstat (limited to 'roomserver/internal')
-rw-r--r--roomserver/internal/perform/perform_backfill.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/roomserver/internal/perform/perform_backfill.go b/roomserver/internal/perform/perform_backfill.go
index 07ad28b8..4e2dbbea 100644
--- a/roomserver/internal/perform/perform_backfill.go
+++ b/roomserver/internal/perform/perform_backfill.go
@@ -133,9 +133,6 @@ func (r *Backfiller) backfillViaFederation(ctx context.Context, req *api.Perform
// persist these new events - auth checks have already been done
roomNID, backfilledEventMap := persistEvents(ctx, r.DB, events)
- if err != nil {
- return err
- }
for _, ev := range backfilledEventMap {
// now add state for these events