You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-05 15:22:09 +03:00
Use new accessors for VerificationRequest (#11092)
* Switch verification request accessors to go via CryptoApi part of https://github.com/vector-im/crypto-internal/issues/97 * Update references to `requestVerification` https://github.com/vector-im/crypto-internal/issues/98
This commit is contained in:
committed by
GitHub
parent
dd46db4817
commit
06fa49a9da
@@ -89,7 +89,7 @@ export default class SetupEncryptionBody extends React.Component<IProps, IState>
|
||||
private onVerifyClick = (): void => {
|
||||
const cli = MatrixClientPeg.safeGet();
|
||||
const userId = cli.getSafeUserId();
|
||||
const requestPromise = cli.requestVerification(userId);
|
||||
const requestPromise = cli.getCrypto()!.requestOwnUserVerification();
|
||||
|
||||
// We need to call onFinished now to close this dialog, and
|
||||
// again later to signal that the verification is complete.
|
||||
|
||||
Reference in New Issue
Block a user