mirror of https://github.com/vector-im/riot-web
Add history entry before completing emoji (#7007)
Signed-off-by: Rafael Goncalves <rafaelgoncalves@riseup.net>pull/21833/head
parent
92df0a35a9
commit
a1029df901
|
@ -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 New Issue