From 3cc15387ae3ec1dca308a2070eabca65bbd73551 Mon Sep 17 00:00:00 2001 From: ganfra Date: Mon, 6 Jan 2020 18:41:09 +0100 Subject: [PATCH] Realm: compatch on launch --- .../internal/database/SessionRealmConfigurationFactory.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/database/SessionRealmConfigurationFactory.kt b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/database/SessionRealmConfigurationFactory.kt index bc806a56a4..24f8a83c56 100644 --- a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/database/SessionRealmConfigurationFactory.kt +++ b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/database/SessionRealmConfigurationFactory.kt @@ -57,6 +57,7 @@ internal class SessionRealmConfigurationFactory @Inject constructor(private val .apply() val realmConfiguration = RealmConfiguration.Builder() + .compactOnLaunch() .directory(directory) .name(REALM_NAME) .apply {