Add history entry before completing emoji (#7007)
Signed-off-by: Rafael Goncalves <rafaelgoncalves@riseup.net>
This commit is contained in:
parent
92df0a35a9
commit
a1029df901
1 changed files with 2 additions and 0 deletions
|
@ -478,6 +478,8 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
|
|||
switch (autocompleteAction) {
|
||||
case AutocompleteAction.ForceComplete:
|
||||
case AutocompleteAction.Complete:
|
||||
this.historyManager.ensureLastChangesPushed(this.props.model);
|
||||
this.modifiedFlag = true;
|
||||
autoComplete.confirmCompletion();
|
||||
handled = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue