Merge pull request #4318 from matrix-org/bwindels/fixlegacyuserverif

Fix: legacy verify user throwing error
pull/21833/head
Bruno Windels 2020-04-01 10:03:53 +00:00 committed by GitHub
commit 7a92c90b79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ export async function legacyVerifyUser(user) {
return;
}
const cli = MatrixClientPeg.get();
const verificationRequestPromise = cli.beginKeyVerification(user.userId);
const verificationRequestPromise = cli.requestVerification(user.userId);
dis.dispatch({
action: "set_right_panel_phase",
phase: RIGHT_PANEL_PHASES.EncryptionPanel,