Merge pull request #1251 from matrix-org/luke/fix-irc-suffix-user-pills

Fix user pills suffixes
This commit is contained in:
Luke Barnard 2017-07-27 12:06:30 +01:00 committed by GitHub
commit 91e74b3333

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.rawDisplayName.replace(' (IRC)', ''); // FIXME when groups are done
avatar = <MemberAvatar member={member} width={16} height={16}/>;
pillClass = 'mx_UserPill';
}