Merge pull request #1431 from matrix-org/luke/feature-flair-tooltip
Give flair avatars a tooltip = the group IDpull/21833/head
commit
2d8bc783b0
|
@ -157,7 +157,12 @@ class FlairAvatar extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
const httpUrl = this.context.matrixClient.mxcUrlToHttp(
|
const httpUrl = this.context.matrixClient.mxcUrlToHttp(
|
||||||
this.props.groupProfile.avatarUrl, 14, 14, 'scale', false);
|
this.props.groupProfile.avatarUrl, 14, 14, 'scale', false);
|
||||||
return <img src={httpUrl} width="14px" height="14px" onClick={this.onClick}/>;
|
return <img
|
||||||
|
src={httpUrl}
|
||||||
|
width="14px"
|
||||||
|
height="14px"
|
||||||
|
onClick={this.onClick}
|
||||||
|
title={this.props.groupProfile.groupId} />;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue