mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-12 16:01:18 +02:00
Re-add removal of (IRC) suffix
This commit is contained in:
parent
08cc0c421d
commit
bac22cfb7c
@ -290,7 +290,7 @@ export default class MessageComposerInput extends React.Component {
|
|||||||
// paths for inserting a user pill is not fun
|
// paths for inserting a user pill is not fun
|
||||||
const selection = this.state.editorState.getSelection();
|
const selection = this.state.editorState.getSelection();
|
||||||
const member = this.props.room.getMember(payload.user_id);
|
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({
|
this.setDisplayedCompletion({
|
||||||
completion,
|
completion,
|
||||||
selection,
|
selection,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user