Skip to content

Commit

Permalink
update sas transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 committed Sep 13, 2024
1 parent 323027e commit aceec3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ jobs:
path: build/test/MatrixSDK-macOS.xcresult/

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ extension MXSASTransactionV2: SasListener {

switch state {
case .started:
self.state = isIncoming ? MXSASTransactionStateIncomingShowAccept : MXSASTransactionStateOutgoingWaitForPartnerToAccept
self.state = MXSASTransactionStateIncomingShowAccept
case .accepted:
self.state = MXSASTransactionStateWaitForPartnerKey
case .keysExchanged(let emojis, let decimals):
Expand All @@ -173,7 +173,7 @@ extension MXSASTransactionV2: SasListener {
)
self.state = cancelInfo.cancelledByUs == true ? MXSASTransactionStateCancelledByMe : MXSASTransactionStateCancelled
case .created:
break
self.state = MXSASTransactionStateOutgoingWaitForPartnerToAccept
}
}
}
Expand Down

0 comments on commit aceec3d

Please sign in to comment.