Merge pull request #579 from kyrias/irc-strip-click
Strip (IRC) when clicking on username
This commit is contained in:
commit
61cf08ca1b
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ module.exports = WithMatrixClient(React.createClass({
|
|||
var mxEvent = this.props.mxEvent;
|
||||
dispatcher.dispatch({
|
||||
action: 'insert_displayname',
|
||||
displayname: mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender(),
|
||||
displayname: (mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender()).replace(' (IRC)', ''),
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue