bridgev2/portal: fix adding rooms to personal space on create
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 2025-07-22 20:31:25 +03:00
commit cb80e5c63f

View file

@ -4379,7 +4379,7 @@ func (portal *Portal) createMatrixRoomInLoop(ctx context.Context, source *UserLo
}
func (portal *Portal) addToUserSpaces(ctx context.Context) {
if portal.Parent == nil {
if portal.Parent != nil {
return
}
log := zerolog.Ctx(ctx)