From f8e8e962795c6d8b0ae8ca46280c0cbdfd866019 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Sat, 19 Dec 2020 16:32:35 +0100 Subject: [PATCH] fix: Display right key in key request dialog --- lib/components/matrix.dart | 2 +- lib/l10n/intl_en.arb | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/components/matrix.dart b/lib/components/matrix.dart index bd2168b6..d8e99d8a 100644 --- a/lib/components/matrix.dart +++ b/lib/components/matrix.dart @@ -348,7 +348,7 @@ class MatrixState extends State { context: context, title: L10n.of(context).requestToReadOlderMessages, message: - '${sender.id}\n\n${L10n.of(context).device}:\n${request.requestingDevice.deviceId}\n\n${L10n.of(context).identity}:\n${request.requestingDevice.curve25519Key.beautified}', + '${sender.id}\n\n${L10n.of(context).device}:\n${request.requestingDevice.deviceId}\n\n${L10n.of(context).publicKey}:\n${request.requestingDevice.ed25519Key.beautified}', okLabel: L10n.of(context).verify, cancelLabel: L10n.of(context).deny, ) == diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index c3d51cba..ba9732f5 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -1204,6 +1204,11 @@ "type": "text", "placeholders": {} }, + "publicKey": "Public Key", + "@publicKey": { + "type": "text", + "placeholders": {} + }, "publicRooms": "Public Rooms", "@publicRooms": { "type": "text",