mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 12:00:03 +03:00
fix ER migration
This commit is contained in:
parent
b224a8d626
commit
49239e6bf2
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ internal class ExtractMigrationDataUseCase {
|
|||
!realm.isEmpty &&
|
||||
// Check if there is a MetaData object
|
||||
realm.where<CryptoMetadataEntity>().count() > 0
|
||||
&& realm.where<CryptoMetadataEntity>().findFirst()?.olmAccountData != null
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue