diff --git a/src/components/views/elements/Pill.js b/src/components/views/elements/Pill.js index fdd657470e..ade7e6ea5c 100644 --- a/src/components/views/elements/Pill.js +++ b/src/components/views/elements/Pill.js @@ -150,7 +150,7 @@ const Pill = React.createClass({ const member = this.state.member; if (member) { userId = member.userId; - linkText = member.name; + linkText = member.rawDisplayName.replace(' (IRC)', ''); // FIXME when groups are done avatar = ; pillClass = 'mx_UserPill'; }