Skip to content

Commit d3d192b

Browse files
committed
Remove FeatureFlag.SharePos
1 parent b394688 commit d3d192b

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

libraries/featureflag/api/src/main/kotlin/io/element/android/libraries/featureflag/api/FeatureFlags.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,6 @@ enum class FeatureFlags(
7878
// False so it's displayed in the developer options screen
7979
isFinished = false,
8080
),
81-
SharePos(
82-
key = "feature.share_pos_v2",
83-
title = "Share pos in sliding sync",
84-
description = "Keep the sliding sync pos to make initial syncs faster. Requires an app restart to take effect." +
85-
"\n\nWARNING: this may cause issues with syncs.",
86-
defaultValue = { true },
87-
// False so it's displayed in the developer options screen
88-
isFinished = false,
89-
),
9081
SelectableMediaQuality(
9182
key = "feature.selectable_media_quality",
9283
title = "Select media quality per upload",

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClientFactory.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class RustMatrixClientFactory @Inject constructor(
7878
client.setUtdDelegate(UtdTracker(analyticsService))
7979

8080
val syncService = client.syncService()
81-
.withSharePos(enable = featureFlagService.isFeatureEnabled(FeatureFlags.SharePos))
81+
.withSharePos(true)
8282
.withOfflineMode()
8383
.finish()
8484

0 commit comments

Comments
 (0)