mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
Re-add removal of (IRC) suffix
This commit is contained in:
parent
08cc0c421d
commit
bac22cfb7c
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ export default class MessageComposerInput extends React.Component {
|
|||
// paths for inserting a user pill is not fun
|
||||
const selection = this.state.editorState.getSelection();
|
||||
const member = this.props.room.getMember(payload.user_id);
|
||||
const completion = member ? member.name : payload.user_id;
|
||||
const completion = member ? member.name.replace(' (IRC)', '') : payload.user_id;
|
||||
this.setDisplayedCompletion({
|
||||
completion,
|
||||
selection,
|
||||
|
|
Loading…
Reference in a new issue