MESSENGER-4303 fix cross signing error

This commit is contained in:
JanNiklas Grabowski
2023-03-07 17:43:28 +01:00
parent 783111c7f2
commit 361d1f6d18
2 changed files with 5 additions and 1 deletions
@@ -285,7 +285,8 @@ final class KeyVerificationSelfVerifyWaitViewModel: KeyVerificationSelfVerifyWai
private func sasTransactionDidStateChange(_ transaction: MXSASTransaction) {
switch transaction.state {
case MXSASTransactionStateIncomingShowAccept:
transaction.accept()
// The transaction will be automatically accepted by the MXKeyVerificationManager when the SAS start event is handled
break
case MXSASTransactionStateShowSAS:
self.unregisterTransactionDidStateChangeNotification()
self.coordinatorDelegate?.keyVerificationSelfVerifyWaitViewModel(self, didAcceptIncomingSASTransaction: transaction)