Remove the event cache feature flag, it's enabled by default on the SDK and we haven't had any bug reports for it.

This commit is contained in:
Stefan Ceriu
2025-04-03 15:39:49 +03:00
parent 62636d8378
commit 5500cc2335
7 changed files with 4 additions and 39 deletions
@@ -19,7 +19,6 @@ protocol CommonSettingsProtocol {
var enableOnlySignedDeviceIsolationMode: Bool { get }
var hideInviteAvatars: Bool { get }
var hideTimelineMedia: Bool { get }
var eventCacheEnabled: Bool { get }
}
/// Store Element specific app settings.
@@ -57,7 +56,6 @@ final class AppSettings {
case fuzzyRoomListSearchEnabled
case enableOnlySignedDeviceIsolationMode
case knockingEnabled
case eventCacheEnabledV2
}
private static var suiteName: String = InfoPlistReader.main.appGroupIdentifier
@@ -343,9 +341,6 @@ final class AppSettings {
@UserPreference(key: UserDefaultsKeys.hideTimelineMedia, defaultValue: false, storageType: .userDefaults(store))
var hideTimelineMedia
@UserPreference(key: UserDefaultsKeys.eventCacheEnabledV2, defaultValue: true, storageType: .userDefaults(store))
var eventCacheEnabled
}
extension AppSettings: CommonSettingsProtocol { }