1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

insert_displayname -> insert_mention

This commit is contained in:
Luke Barnard
2017-07-20 18:02:54 +01:00
parent 6d7bff83ca
commit 08cc0c421d
3 changed files with 3 additions and 3 deletions

View File

@@ -285,7 +285,7 @@ export default class MessageComposerInput extends React.Component {
case 'focus_composer':
editor.focus();
break;
case 'insert_displayname': {
case 'insert_mention': {
// Pretend that we've autocompleted this user because keeping two code
// paths for inserting a user pill is not fun
const selection = this.state.editorState.getSelection();