double-check user verification

This commit is contained in:
Zoe 2020-01-31 10:37:40 +00:00
parent 68b2454920
commit af0598bbcb

View File

@ -63,6 +63,14 @@ export default class MKeyVerificationConclusion extends React.Component {
if (request.pending) {
return false;
}
// User isn't actually verified
if (!MatrixClientPeg.get()
.checkUserTrust(mxEvent.verificationRequest.otherUserId)
.isCrossSigningVerified()) {
return false;
}
return true;
}