fix: Display right key in key request dialog

This commit is contained in:
Sorunome 2020-12-19 16:32:35 +01:00
parent 0abebddf53
commit f8e8e96279
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
2 changed files with 6 additions and 1 deletions

View File

@ -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,
) == ) ==

View File

@ -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",