added device key in settings
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user