You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-16 22:01:54 +03:00
Apply the same to quoting & inserting of emoji then consolidate
This commit is contained in:
@ -467,16 +467,17 @@ class TimelinePanel extends React.Component {
|
||||
break;
|
||||
}
|
||||
|
||||
case "insert_mention": {
|
||||
case "composer_insert": {
|
||||
// re-dispatch to the correct composer
|
||||
if (this.state.editState) {
|
||||
dis.dispatch({
|
||||
...payload,
|
||||
action: "insert_mention_edit_composer",
|
||||
action: "edit_composer_insert",
|
||||
});
|
||||
} else {
|
||||
dis.dispatch({
|
||||
...payload,
|
||||
action: "insert_mention_send_composer",
|
||||
action: "send_composer_insert",
|
||||
});
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user