Remove hard coded message backups remote config.

This commit is contained in:
Cody Henthorne
2025-09-22 16:38:01 -04:00
committed by Jeffrey Starke
parent 6976ac7d44
commit 8b2f58e0e7
31 changed files with 58 additions and 220 deletions

View File

@@ -12,7 +12,6 @@ import org.signal.core.util.kibiBytes
import org.signal.core.util.logging.Log
import org.signal.core.util.mebiBytes
import org.signal.libsignal.protocol.UsePqRatchet
import org.thoughtcrime.securesms.BuildConfig
import org.thoughtcrime.securesms.dependencies.AppDependencies
import org.thoughtcrime.securesms.groups.SelectionLimits
import org.thoughtcrime.securesms.jobs.RemoteConfigRefreshJob
@@ -1039,20 +1038,6 @@ object RemoteConfig {
inSeconds.seconds.inWholeMilliseconds
}
/**
* Enable Message Backups UI
* Note: This feature is in active development and is not intended to currently function.
*/
@JvmStatic
@get:JvmName("messageBackups")
val messageBackups: Boolean by remoteValue(
key = "android.messageBackups",
hotSwappable = false,
active = true
) { value ->
BuildConfig.MESSAGE_BACKUP_RESTORE_ENABLED || value.asBoolean(false)
}
val backupFallbackArchiveCdn: Int by remoteInt(
key = "global.backups.mediaTierFallbackCdnNumber",
hotSwappable = true,