mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 10:51:27 +01:00
Reset backupV2 credentials on 403.
This commit is contained in:
committed by
Nicholas Tinsley
parent
227a279131
commit
d0340d39db
@@ -152,6 +152,10 @@ internal class BackupValues(store: KeyValueStore) : SignalStoreValues(store) {
|
||||
putString(KEY_CREDENTIALS, JsonUtil.toJson(SerializedCredentials(updated)))
|
||||
}
|
||||
|
||||
fun clearAllCredentials() {
|
||||
putString(KEY_CREDENTIALS, null)
|
||||
}
|
||||
|
||||
class SerializedCredentials(
|
||||
@JsonProperty
|
||||
val credentialsByDay: Map<Long, ArchiveServiceCredential>
|
||||
|
||||
Reference in New Issue
Block a user