mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
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) {
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue