mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02: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…
x
Reference in New Issue
Block a user