added device key in settings

This commit is contained in:
unknown 2021-08-19 22:24:09 +05:30
parent daa0015fbd
commit a4b762e1b1

View file

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