Refactor selectComposeSuggestion so that different paths can be updated
This commit is contained in:
1 parent
1c0402c103
commit
3a671470ec
3 files changed
+11
-8
No files matched your search
+1
-1
@@ -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