diff --git a/mail/js/app.js b/mail/js/app.js index 05c1b5c6f8..a67804036e 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -435,7 +435,11 @@ app.classes.mail = AppJS.extend( // only handle delete by default, for simple case of uid === "$app::$id" if (pushData.type === 'delete') { - return this._super.call(this, pushData); + [].concat(pushData.id).forEach(uid => { + pushData.id = uid; + this._super.call(this, pushData); + }); + return; } // notify user a new mail arrived