fix: Do not wait for first sync after migration init
If the first sync fails because of a connection problem then the migration is lost. This should not happen.
This commit is contained in:
parent
c436a86915
commit
6c307980a5
|
|
@ -2961,7 +2961,10 @@ class Client extends MatrixApi {
|
|||
await legacyDatabase?.close();
|
||||
_initLock = false;
|
||||
if (migrateClient != null) {
|
||||
return init();
|
||||
return init(
|
||||
waitForFirstSync: false,
|
||||
waitUntilLoadCompletedLoaded: false,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue