mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Remove hard coded message backups remote config.
This commit is contained in:
committed by
Jeffrey Starke
parent
6976ac7d44
commit
8b2f58e0e7
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user