Skip to content

Commit

Permalink
Merge pull request #1234 from matrix-org/bwindels/evenmoreloggingforv…
Browse files Browse the repository at this point in the history
…erif

Verification: log when switching start event
  • Loading branch information
bwindels authored Feb 28, 2020
2 parents fa19616 + 90f400a commit ce6dd86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crypto/verification/Base.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ export class VerificationBase extends EventEmitter {

switchStartEvent(event) {
if (this.canSwitchStartEvent(event)) {
logger.log("Verification Base: switching verification start event",
{restartingFlow: !!this._rejectEvent});
if (this._rejectEvent) {
const reject = this._rejectEvent;
this._rejectEvent = undefined;
Expand Down

0 comments on commit ce6dd86

Please sign in to comment.