diff --git a/src/components/views/dialogs/IncomingSasDialog.js b/src/components/views/dialogs/IncomingSasDialog.js index da2211c10f7..0720fedddcc 100644 --- a/src/components/views/dialogs/IncomingSasDialog.js +++ b/src/components/views/dialogs/IncomingSasDialog.js @@ -34,9 +34,15 @@ export default class IncomingSasDialog extends React.Component { constructor(props) { super(props); + let phase = PHASE_START; + if (this.props.verifier.cancelled) { + console.log("Verifier was cancelled in the background."); + phase = PHASE_CANCELLED; + } + this._showSasEvent = null; this.state = { - phase: PHASE_START, + phase: phase, sasVerified: false, opponentProfile: null, opponentProfileError: null,