mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
double-check user verification
This commit is contained in:
parent
68b2454920
commit
af0598bbcb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user