fix legacy verify user

This commit is contained in:
Bruno Windels 2020-04-01 10:32:27 +02:00
parent cf4f595f79
commit 6dc7bf4bdf

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,