Strip " (IRC)" from display names inserted into the timeline
This commit is contained in:
parent
c4f049effe
commit
f19fade448
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ const Pill = React.createClass({
|
|||
const member = this.state.member;
|
||||
if (member) {
|
||||
userId = member.userId;
|
||||
linkText = member.name;
|
||||
linkText = member.name.replace(' (IRC)', ''); // FIXME when groups are done
|
||||
avatar = <MemberAvatar member={member} width={16} height={16}/>;
|
||||
pillClass = 'mx_UserPill';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue