Merge pull request #3986 from matrix-org/bwindels/fixverifyingdevices
Fix verifying individual devices
This commit is contained in:
commit
dcb7878f53
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,7 @@ export default class VerificationPanel extends React.PureComponent {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
this.state = {};
|
this.state = {};
|
||||||
this._hasVerifier = !!props.request.verifier;
|
this._hasVerifier = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
renderQRPhase(pending) {
|
renderQRPhase(pending) {
|
||||||
|
@ -234,6 +234,7 @@ export default class VerificationPanel extends React.PureComponent {
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.props.request.on("change", this._onRequestChange);
|
this.props.request.on("change", this._onRequestChange);
|
||||||
|
this._onRequestChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
|
Loading…
Reference in a new issue