fix: Display right key in key request dialog

onboarding
Sorunome 5 years ago
parent 84805a2bea
commit 9a54b13c1e

@ -348,7 +348,7 @@ class MatrixState extends State<Matrix> {
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,
) ==

@ -1204,6 +1204,11 @@
"type": "text",
"placeholders": {}
},
"publicKey": "Public Key",
"@publicKey": {
"type": "text",
"placeholders": {}
},
"publicRooms": "Public Rooms",
"@publicRooms": {
"type": "text",

Loading…
Cancel
Save