mirror of https://github.com/vector-im/riot-web
Strip " (IRC)" from display names inserted into the timeline
parent
c4f049effe
commit
f19fade448
|
@ -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 New Issue