diff --git a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/encryption/RecoveryExceptionMapper.kt b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/encryption/RecoveryExceptionMapper.kt index fca724d463..5568d008ec 100644 --- a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/encryption/RecoveryExceptionMapper.kt +++ b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/encryption/RecoveryExceptionMapper.kt @@ -19,9 +19,6 @@ fun Throwable.mapRecoveryException(): RecoveryException { is RustRecoveryException.SecretStorage -> RecoveryException.SecretStorage( message = errorMessage ) - is RustRecoveryException.Import -> RecoveryException.Import( - message = errorMessage - ) is RustRecoveryException.BackupExistsOnServer -> RecoveryException.BackupExistsOnServer is RustRecoveryException.Import -> RecoveryException.Import( message = errorMessage