bridgev2/portal: only forward backfill after room creation if enabled in config
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
Tulir Asokan 2024-08-20 17:37:21 +03:00
commit 591ac60f0c

View file

@ -3442,7 +3442,9 @@ func (portal *Portal) createMatrixRoomInLoop(ctx context.Context, source *UserLo
}
}
}
portal.doForwardBackfill(ctx, source, nil, backfillBundle)
if portal.Bridge.Config.Backfill.Enabled {
portal.doForwardBackfill(ctx, source, nil, backfillBundle)
}
return nil
}