You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-16 06:42:26 +03:00
Refactor remove resend_all_events and cancel_all_events dispatches
This commit is contained in:
@@ -159,10 +159,7 @@ export default React.createClass({
|
||||
<button className="mx_Dialog_primary" autoFocus={ true }
|
||||
onClick={() => {
|
||||
this.props.onFinished();
|
||||
dis.dispatch({
|
||||
action: 'resend_all_events',
|
||||
room: this.props.room,
|
||||
});
|
||||
Resend.resendUnsentEvents(this.props.room);
|
||||
}}>
|
||||
Send anyway
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user