Remove FeatureFlag.SharePos

This commit is contained in:
Benoit Marty 2025-08-12 15:44:25 +02:00 committed by Benoit Marty
parent b394688d5a
commit d3d192b5ff
2 changed files with 1 additions and 10 deletions

View file

@ -78,15 +78,6 @@ enum class FeatureFlags(
// False so it's displayed in the developer options screen
isFinished = false,
),
SharePos(
key = "feature.share_pos_v2",
title = "Share pos in sliding sync",
description = "Keep the sliding sync pos to make initial syncs faster. Requires an app restart to take effect." +
"\n\nWARNING: this may cause issues with syncs.",
defaultValue = { true },
// False so it's displayed in the developer options screen
isFinished = false,
),
SelectableMediaQuality(
key = "feature.selectable_media_quality",
title = "Select media quality per upload",

View file

@ -78,7 +78,7 @@ class RustMatrixClientFactory @Inject constructor(
client.setUtdDelegate(UtdTracker(analyticsService))
val syncService = client.syncService()
.withSharePos(enable = featureFlagService.isFeatureEnabled(FeatureFlags.SharePos))
.withSharePos(true)
.withOfflineMode()
.finish()