mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Remove hard coded message backups remote config.
This commit is contained in:
committed by
Jeffrey Starke
parent
6976ac7d44
commit
8b2f58e0e7
@@ -558,7 +558,7 @@ public final class Megaphones {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!RemoteConfig.messageBackups() || SignalStore.backup().getLatestBackupTier() != null) {
|
||||
if (SignalStore.backup().getLatestBackupTier() != null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user