mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-27 04:04:43 +01:00
Backup delete resub flow state fix.
This commit is contained in:
committed by
Cody Henthorne
parent
109d37c0d2
commit
ad652dbaf2
@@ -1042,6 +1042,13 @@ object BackupRepository {
|
||||
}
|
||||
}
|
||||
|
||||
fun enablePaidBackupTier() {
|
||||
Log.i(TAG, "Setting backup tier to PAID", true)
|
||||
SignalStore.backup.backupTier = MessageBackupTier.PAID
|
||||
SignalStore.backup.lastCheckInMillis = System.currentTimeMillis()
|
||||
SignalStore.backup.lastCheckInSnoozeMillis = 0
|
||||
}
|
||||
|
||||
/**
|
||||
* Grabs the backup tier for the given ACI. Note that this will set the user's backup
|
||||
* tier to FREE if they are not on PAID, so avoid this method if you don't intend that
|
||||
|
||||
Reference in New Issue
Block a user