Drop (IRC) suffix hacks
This commit is contained in:
parent
5b027c6410
commit
fe788486b7
4 changed files with 4 additions and 7 deletions
|
@ -284,7 +284,7 @@ export default class MessageComposerInput extends React.Component {
|
|||
const selection = this.state.editorState.getSelection();
|
||||
const member = this.props.room.getMember(payload.user_id);
|
||||
const completion = member ?
|
||||
member.rawDisplayName.replace(' (IRC)', '') : payload.user_id;
|
||||
member.rawDisplayName : payload.user_id;
|
||||
this.setDisplayedCompletion({
|
||||
completion,
|
||||
selection,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue