removed unused code

This commit is contained in:
Mauro Romito
2024-10-09 12:11:48 +02:00
parent a8b3b4cef0
commit 11f83e66e3
@@ -172,15 +172,6 @@ final class KeyVerificationVerifyByScanningViewModel: KeyVerificationVerifyBySca
// Remove pending QR code transaction, as we are going to use SAS verification
self.removePendingQRCodeTransaction()
// Check due to legacy implementation of key verification which could pass incorrect type of transaction
// TODO: Not sure about commenting this code, but MXIncomingSASTransaction has been removed
// if keyVerificationTransaction is MXIncomingSASTransaction {
// MXLog.debug("[KeyVerificationVerifyByScanningViewModel] SAS transaction should be outgoing")
// self.unregisterDidStateChangeNotification()
// self.update(viewState: .error(KeyVerificationVerifyByScanningViewModelError.unknown))
// }
}, failure: { [weak self] (error) in
guard let self = self else {
return