From b724b0c6b68dcbdc5cff14181e30643e8a93b078 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 9 Sep 2016 11:41:56 +0100 Subject: [PATCH] Update MemberDeviceInfo display Show the displayname when we have it Show the deviceid in a tooltip Show the Ed25519 public key to help verify --- src/components/views/rooms/MemberDeviceInfo.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/views/rooms/MemberDeviceInfo.js b/src/components/views/rooms/MemberDeviceInfo.js index efc2cdf638..22bbdd2ce7 100644 --- a/src/components/views/rooms/MemberDeviceInfo.js +++ b/src/components/views/rooms/MemberDeviceInfo.js @@ -99,12 +99,16 @@ export default class MemberDeviceInfo extends React.Component { ); } - var deviceName = this.props.device.display_name || this.props.device.deviceId; + var deviceName = this.props.device.getDisplayName() || this.props.device.deviceId; + // add the deviceId as a titletext to help with debugging return ( -
+
{deviceName}
{indicator} +
+ {this.props.device.getFingerprint()} +
{verifyButton} {blockButton}