Merge pull request #3986 from matrix-org/bwindels/fixverifyingdevices

Fix verifying individual devices
pull/21833/head
J. Ryan Stinnett 2020-01-29 17:46:09 +00:00 committed by GitHub
commit dcb7878f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export default class VerificationPanel extends React.PureComponent {
constructor(props) {
super(props);
this.state = {};
this._hasVerifier = !!props.request.verifier;
this._hasVerifier = false;
}
renderQRPhase(pending) {
@ -234,6 +234,7 @@ export default class VerificationPanel extends React.PureComponent {
componentDidMount() {
this.props.request.on("change", this._onRequestChange);
this._onRequestChange();
}
componentWillUnmount() {