Strip " (IRC)" from display names inserted into the timeline

pull/21833/head
Luke Barnard 2017-07-27 10:50:41 +01:00
parent c4f049effe
commit f19fade448
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}