You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
FocusComposer -> FocusSendMessageComposer
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -842,7 +842,7 @@ export default class RoomView extends React.Component<IProps, IState> {
|
||||
} else {
|
||||
dis.dispatch({
|
||||
...payload,
|
||||
action: Action.FocusComposer,
|
||||
action: Action.FocusSendMessageComposer,
|
||||
});
|
||||
}
|
||||
break;
|
||||
@@ -1262,7 +1262,7 @@ export default class RoomView extends React.Component<IProps, IState> {
|
||||
ContentMessages.sharedInstance().sendContentListToRoom(
|
||||
ev.dataTransfer.files, this.state.room.roomId, this.context,
|
||||
);
|
||||
dis.fire(Action.FocusComposer);
|
||||
dis.fire(Action.FocusSendMessageComposer);
|
||||
|
||||
this.setState({
|
||||
draggingFile: false,
|
||||
@@ -1564,7 +1564,7 @@ export default class RoomView extends React.Component<IProps, IState> {
|
||||
} else {
|
||||
// Otherwise we have to jump manually
|
||||
this.messagePanel.jumpToLiveTimeline();
|
||||
dis.fire(Action.FocusComposer);
|
||||
dis.fire(Action.FocusSendMessageComposer);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user