Update src/components/views/right_panel/UserInfo.js

Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Bruno Windels 2020-02-11 15:21:01 +00:00 committed by GitHub
parent 4b8382b5c4
commit 5267dbf44a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ async function verifyDevice(userId, device) {
const cli = MatrixClientPeg.get(); const cli = MatrixClientPeg.get();
const member = cli.getUser(userId); const member = cli.getUser(userId);
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog"); const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
Modal.createTrackedDialog("Verification failed", "insecure", QuestionDialog, { Modal.createTrackedDialog("Verification warning", "unverified session", QuestionDialog, {
headerImage: require("../../../../res/img/e2e/warning.svg"), headerImage: require("../../../../res/img/e2e/warning.svg"),
title: _t("Not Trusted"), title: _t("Not Trusted"),
description: <div> description: <div>