mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
add device and cross-signing public keys to rageshake info (#4097)
This commit is contained in:
parent
dcc8862d4c
commit
953af6f036
@ -96,6 +96,13 @@ export default async function sendBugReport(bugReportEndpoint, opts) {
|
||||
body.append('device_id', client.deviceId);
|
||||
}
|
||||
|
||||
const keys = [`ed25519:${client.getDeviceEd25519Key()}`];
|
||||
if (client.getDeviceCurve25519Key) {
|
||||
keys.push(`curve25519:${client.getDeviceCurve25519Key()}`);
|
||||
}
|
||||
body.append('device_keys', keys.join(', '));
|
||||
body.append('cross_signing_key', client.getCrossSigningId());
|
||||
|
||||
if (opts.label) {
|
||||
body.append('label', opts.label);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user