Skip to content

Commit ac40d1d

Browse files
authored
chore: add compile-time flag for MLS reset feature [WPB-19664] (#4208)
1 parent 6665a6b commit ac40d1d

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

app/src/main/kotlin/com/wire/android/di/KaliumConfigsModule.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ class KaliumConfigsModule {
6060
isWebSocketEnabledByDefault = isWebsocketEnabledByDefault(context),
6161
certPinningConfig = BuildConfig.CERTIFICATE_PINNING_CONFIG,
6262
maxRemoteSearchResultCount = BuildConfig.MAX_REMOTE_SEARCH_RESULT_COUNT,
63-
limitTeamMembersFetchDuringSlowSync = BuildConfig.LIMIT_TEAM_MEMBERS_FETCH_DURING_SLOW_SYNC
63+
limitTeamMembersFetchDuringSlowSync = BuildConfig.LIMIT_TEAM_MEMBERS_FETCH_DURING_SLOW_SYNC,
64+
isMlsResetEnabled = BuildConfig.IS_MLS_RESET_ENABLED,
6465
)
6566
}
6667
}

buildSrc/src/main/kotlin/customization/FeatureConfigs.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,6 @@ enum class FeatureConfigs(val value: String, val configType: ConfigType) {
118118
*/
119119
ANALYTICS_ENABLED("analytics_enabled", ConfigType.BOOLEAN),
120120
ANALYTICS_APP_KEY("analytics_app_key", ConfigType.STRING),
121-
ANALYTICS_SERVER_URL("analytics_server_url", ConfigType.STRING)
121+
ANALYTICS_SERVER_URL("analytics_server_url", ConfigType.STRING),
122+
IS_MLS_RESET_ENABLED("is_mls_reset_enabled", ConfigType.BOOLEAN),
122123
}

default.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@
7777
"analytics_enabled": true,
7878
"analytics_app_key": "8ffae535f1836ed5f58fd5c8a11c00eca07c5438",
7979
"analytics_server_url": "https://wire.count.ly/",
80-
"enable_new_registration": true
80+
"enable_new_registration": true,
81+
"is_mls_reset_enabled": true
8182
},
8283
"fdroid": {
8384
"application_id": "com.wire",
@@ -143,5 +144,6 @@
143144
"channels_history_options_enabled": false,
144145
"use_new_login_for_default_backend": true,
145146
"enable_crossplatform_backup": true,
146-
"mls_read_receipts_enabled": false
147+
"mls_read_receipts_enabled": false,
148+
"is_mls_reset_enabled": false
147149
}

0 commit comments

Comments
 (0)