added device key in settings
This commit is contained in:
parent
daa0015fbd
commit
a4b762e1b1
1 changed files with 4 additions and 1 deletions
|
@ -62,7 +62,10 @@ function SecuritySection() {
|
||||||
<div className="set-security settings-content">
|
<div className="set-security settings-content">
|
||||||
<SettingTile
|
<SettingTile
|
||||||
title={`Device ID: ${initMatrix.matrixClient.getDeviceId()}`}
|
title={`Device ID: ${initMatrix.matrixClient.getDeviceId()}`}
|
||||||
content={<Text variant="b3">Use this device ID to verify or manage this session from Element client.</Text>}
|
/>
|
||||||
|
<SettingTile
|
||||||
|
title={`Device key: ${initMatrix.matrixClient.getDeviceEd25519Key().match(/.{1,4}/g).join(' ')}`}
|
||||||
|
content={<Text variant="b3">Use this device ID-key combo to verify or manage this session from Element client.</Text>}
|
||||||
/>
|
/>
|
||||||
<SettingTile
|
<SettingTile
|
||||||
title="Import E2E room keys"
|
title="Import E2E room keys"
|
||||||
|
|
Loading…
Reference in a new issue