1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Add 'cancel all' option to 'unsent messages' bar

Also, make sure we hide said bar when unsent messages are cancelled.
This commit is contained in:
Richard van der Hoff
2016-03-21 16:49:07 +00:00
parent 11be2e1cad
commit 75f8765f88
3 changed files with 25 additions and 3 deletions

View File

@ -36,5 +36,9 @@ module.exports = {
removeFromQueue: function(event) {
MatrixClientPeg.get().cancelPendingEvent(event);
dis.dispatch({
action: 'message_send_cancelled',
event: event
});
},
};