mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
double-check user verification
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user