mirror of https://github.com/vector-im/riot-web
Use deviceTrust when displaying key backup trust status
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1138pull/21833/head
parent
bcece7dc10
commit
43e4f2dcc0
|
@ -270,7 +270,7 @@ export default class KeyBackupPanel extends React.PureComponent {
|
||||||
{sub}
|
{sub}
|
||||||
</span>;
|
</span>;
|
||||||
const verify = sub =>
|
const verify = sub =>
|
||||||
<span className={sig.device && sig.device.isVerified() ? 'mx_KeyBackupPanel_deviceVerified' : 'mx_KeyBackupPanel_deviceNotVerified'}>
|
<span className={sig.device && sig.deviceTrust.isVerified() ? 'mx_KeyBackupPanel_deviceVerified' : 'mx_KeyBackupPanel_deviceNotVerified'}>
|
||||||
{sub}
|
{sub}
|
||||||
</span>;
|
</span>;
|
||||||
const device = sub => <span className="mx_KeyBackupPanel_deviceName">{deviceName}</span>;
|
const device = sub => <span className="mx_KeyBackupPanel_deviceName">{deviceName}</span>;
|
||||||
|
|
Loading…
Reference in New Issue