mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Update SVRB error handling.
This commit is contained in:
committed by
Jeffrey Starke
parent
03c6094ea3
commit
dfdadc9d7a
@@ -249,7 +249,7 @@ class InternalBackupPlaygroundViewModel : ViewModel() {
|
||||
|
||||
val forwardSecrecyToken = when (val result = SignalNetwork.svrB.restore(svrBAuth, SignalStore.backup.messageBackupKey, forwardSecrecyMetadata)) {
|
||||
is SvrBApi.RestoreResult.Success -> result.data.forwardSecrecyToken
|
||||
else -> throw IOException("Failed to read forward secrecy metadata!")
|
||||
else -> throw IOException("Failed to read forward secrecy metadata! $result")
|
||||
}
|
||||
|
||||
val encryptedStream = tempBackupFile.inputStream().apply {
|
||||
|
||||
Reference in New Issue
Block a user