mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 03:48:12 +03:00
fix compilation rust
This commit is contained in:
parent
a110c9ee50
commit
b0168dc633
1 changed files with 1 additions and 2 deletions
|
@ -23,7 +23,6 @@ import kotlinx.coroutines.NonCancellable
|
|||
import kotlinx.coroutines.withContext
|
||||
import org.matrix.android.sdk.api.MatrixCoroutineDispatchers
|
||||
import org.matrix.android.sdk.api.extensions.tryOrNull
|
||||
import org.matrix.android.sdk.api.session.crypto.verification.CancelCode
|
||||
import org.matrix.android.sdk.api.session.crypto.verification.EVerificationState
|
||||
import org.matrix.android.sdk.api.session.crypto.verification.PendingVerificationRequest
|
||||
import org.matrix.android.sdk.api.session.crypto.verification.VerificationMethod
|
||||
|
@ -168,7 +167,7 @@ internal class VerificationRequest @AssistedInject constructor(
|
|||
// activeQRCode = innerVerificationRequest.startQrVerification()
|
||||
// }
|
||||
} catch (failure: Throwable) {
|
||||
cancel(CancelCode.UserError)
|
||||
cancel()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue