Refactor selectComposeSuggestion so that different paths can be updated

This commit is contained in:
Thibaut Girka authored and ThibG committed 2019-04-26 22:38:03 +02:00
1 parent 1c0402c103
commit 3a671470ec
3 files changed
+11 -8

No files matched your search

@@ -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) {