Add a developer option for history sharing on invite (#4821)

Adds a new developer flag, enabling our experimental support for MSC4268.
This commit is contained in:
Richard van der Hoff 2025-06-18 17:11:57 +01:00 committed by GitHub
parent 17c0bd88b6
commit 9be05262e2
3 changed files with 13 additions and 0 deletions

View file

@ -127,6 +127,7 @@ class RustMatrixClientFactory @Inject constructor(
TrustRequirement.UNTRUSTED
}
)
.enableShareHistoryOnInvite(featureFlagService.isFeatureEnabled(FeatureFlags.EnableKeyShareOnInvite))
.run {
// Apply sliding sync version settings
when (slidingSyncType) {