Drop (IRC) suffix hacks

This commit is contained in:
Will Hunt 2018-10-03 19:34:06 +01:00
parent 5b027c6410
commit fe788486b7
4 changed files with 4 additions and 7 deletions

View file

@ -111,9 +111,6 @@ export default React.createClass({
this.state.userGroups, this.state.relatedGroups,
);
// Backwards-compatible replacing of "(IRC)" with AS user flair
name = displayedGroups.length > 0 ? name.replace(' (IRC)', '') : name;
flair = <Flair key='flair'
userId={mxEvent.getSender()}
groups={displayedGroups}