mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
* Mail: handle push of delete or move of all messages in folder
This commit is contained in:
parent
9f9cce88b2
commit
9ed7d0b110
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user