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, context: context,
title: L10n.of(context).requestToReadOlderMessages, title: L10n.of(context).requestToReadOlderMessages,
message: 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, okLabel: L10n.of(context).verify,
cancelLabel: L10n.of(context).deny, cancelLabel: L10n.of(context).deny,
) == ) ==

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

Loading…
Cancel
Save