double-check user verification
This commit is contained in:
parent
68b2454920
commit
af0598bbcb
1 changed files with 8 additions and 0 deletions
|
@ -63,6 +63,14 @@ export default class MKeyVerificationConclusion extends React.Component {
|
||||||
if (request.pending) {
|
if (request.pending) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// User isn't actually verified
|
||||||
|
if (!MatrixClientPeg.get()
|
||||||
|
.checkUserTrust(mxEvent.verificationRequest.otherUserId)
|
||||||
|
.isCrossSigningVerified()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue