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

@@ -558,7 +558,7 @@ public final class Megaphones {
return false;
}
if (!RemoteConfig.messageBackups() || SignalStore.backup().getLatestBackupTier() != null) {
if (SignalStore.backup().getLatestBackupTier() != null) {
return false;
}

View File

@@ -1,7 +1,6 @@
package org.thoughtcrime.securesms.megaphone
import org.thoughtcrime.securesms.keyvalue.SignalStore
import org.thoughtcrime.securesms.util.RemoteConfig
import kotlin.time.Duration.Companion.days
/**
@@ -13,10 +12,6 @@ import kotlin.time.Duration.Companion.days
class VerifyBackupKeyReminderSchedule : MegaphoneSchedule {
override fun shouldDisplay(seenCount: Int, lastSeen: Long, firstVisible: Long, currentTime: Long): Boolean {
if (!RemoteConfig.messageBackups) {
return false
}
if (!SignalStore.backup.areBackupsEnabled) {
return false
}