hopefully informative comment

This commit is contained in:
David Baker 2020-01-27 11:07:55 +00:00
parent 9e38c62791
commit 11de92b9a9

View file

@ -35,6 +35,9 @@ export default class CompleteSecurity extends React.Component {
this.state = { this.state = {
phase: PHASE_INTRO, phase: PHASE_INTRO,
// this serves dual purpose as the object for the request logic and
// the presence of it insidicating that we're in 'verify mode'.
// Because of the latter, it lives in the state.
verificationRequest: null, verificationRequest: null,
}; };
MatrixClientPeg.get().on("crypto.verification.request", this.onVerificationRequest); MatrixClientPeg.get().on("crypto.verification.request", this.onVerificationRequest);