Identity: The store has to be migrated properly because it contains user's data

This commit is contained in:
Benoit Marty 2020-05-13 00:20:29 +02:00
parent e78fde4eca
commit c8211098f3
1 changed files with 1 additions and 3 deletions

View File

@ -29,8 +29,8 @@ import im.vector.matrix.android.internal.network.httpclient.addAccessTokenInterc
import im.vector.matrix.android.internal.network.token.AccessTokenProvider
import im.vector.matrix.android.internal.session.SessionModule
import im.vector.matrix.android.internal.session.SessionScope
import im.vector.matrix.android.internal.session.identity.db.IdentityRealmModule
import im.vector.matrix.android.internal.session.identity.data.IdentityStore
import im.vector.matrix.android.internal.session.identity.db.IdentityRealmModule
import im.vector.matrix.android.internal.session.identity.db.RealmIdentityStore
import io.realm.RealmConfiguration
import okhttp3.OkHttpClient
@ -64,8 +64,6 @@ internal abstract class IdentityModule {
realmKeysUtils.configureEncryption(this, SessionModule.getKeyAlias(userMd5))
}
.modules(IdentityRealmModule())
// TODO Handle migration properly
.deleteRealmIfMigrationNeeded()
.build()
}
}