diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index c3befa2298..e04946b5a3 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -294,8 +294,9 @@
"Not Trusted": "Not Trusted",
"%(name)s (%(userId)s) signed in to a new session without verifying it:": "%(name)s (%(userId)s) signed in to a new session without verifying it:",
"Ask this user to verify their session, or manually verify it below.": "Ask this user to verify their session, or manually verify it below.",
+ "Legacy Verify Device": "Legacy Verify Device",
+ "Verify Device by Emoji": "Verify Device by Emoji",
"Done": "Done",
- "Manually Verify": "Manually Verify",
"%(displayName)s is typing …": "%(displayName)s is typing …",
"%(names)s and %(count)s others are typing …|other": "%(names)s and %(count)s others are typing …",
"%(names)s and %(count)s others are typing …|one": "%(names)s and one other is typing …",
diff --git a/src/verification.js b/src/verification.js
index 4443079b95..00905acf8e 100644
--- a/src/verification.js
+++ b/src/verification.js
@@ -39,38 +39,55 @@ async function enable4SIfNeeded() {
return true;
}
+function UntrustedDeviceDialog(props) {
+ const {device, user, onFinished} = props;
+ const BaseDialog = sdk.getComponent("dialogs.BaseDialog");
+ const AccessibleButton = sdk.getComponent("elements.AccessibleButton");
+ return {_t("%(name)s (%(userId)s) signed in to a new session without verifying it:", {name: user.displayName, userId: user.userId})} {device.getDisplayName()} ({device.deviceId}) {_t("Ask this user to verify their session, or manually verify it below.")}
{_t("%(name)s (%(userId)s) signed in to a new session without verifying it:", {name: user.displayName, userId: user.userId})}
-{device.getDisplayName()} ({device.deviceId})
-{_t("Ask this user to verify their session, or manually verify it below.")}
-