Merge pull request #579 from kyrias/irc-strip-click
Strip (IRC) when clicking on usernamepull/21833/head
commit
61cf08ca1b
|
@ -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 New Issue