Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Add the deviceId back to memberdeviceinfo
Browse files Browse the repository at this point in the history
It was removed by @ara4n in 5fa5489, but it's still useful!
  • Loading branch information
richvdh committed Sep 22, 2016
1 parent 2f7b4f7 commit dd2da20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/views/rooms/MemberDeviceInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ export default class MemberDeviceInfo extends React.Component {
(this.props.device.getDisplayName() ? this.props.device.getDisplayName() : "") + " (" + this.props.device.deviceId + ")" :
this.props.device.getDisplayName();

// add the deviceId as a titletext to help with debugging
return (
<div className="mx_MemberDeviceInfo" >
<div className="mx_MemberDeviceInfo"
title={"device id: " + this.props.device.deviceId} >
<div className="mx_MemberDeviceInfo_deviceInfo">
<div className="mx_MemberDeviceInfo_deviceId">
{deviceName}
Expand Down

0 comments on commit dd2da20

Please sign in to comment.