mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
hopefully informative comment
This commit is contained in:
parent
9e38c62791
commit
11de92b9a9
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue