Refactor selectComposeSuggestion so that different paths can be updated
This commit is contained in:
@ -91,7 +91,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
||||
},
|
||||
|
||||
onSuggestionSelected(position, token, suggestion) {
|
||||
dispatch(selectComposeSuggestion(position, token, suggestion));
|
||||
dispatch(selectComposeSuggestion(position, token, suggestion, ['text']));
|
||||
},
|
||||
|
||||
onChangeSpoilerText(text) {
|
||||
|
Reference in New Issue
Block a user