You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Add "Retry" button to UDE
This commit is contained in:
@@ -716,16 +716,16 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
onResendAllClick: function() {
|
||||
var eventsToResend = this._getUnsentMessages(this.state.room);
|
||||
eventsToResend.forEach(function(event) {
|
||||
Resend.resend(event);
|
||||
dis.dispatch({
|
||||
action: 'resend_all_events',
|
||||
room: this.state.room,
|
||||
});
|
||||
},
|
||||
|
||||
onCancelAllClick: function() {
|
||||
var eventsToResend = this._getUnsentMessages(this.state.room);
|
||||
eventsToResend.forEach(function(event) {
|
||||
Resend.removeFromQueue(event);
|
||||
dis.dispatch({
|
||||
action: 'cancel_all_events',
|
||||
room: this.state.room,
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user