You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Re-add removal of (IRC) suffix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user