mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
remove mails marked as \Delete eg. by TB, which does not expunge immediatly
This commit is contained in:
parent
e3cf9b7aa5
commit
2ea0792600
@ -436,6 +436,12 @@ app.classes.mail = AppJS.extend(
|
|||||||
switch(pushData.acl.event)
|
switch(pushData.acl.event)
|
||||||
{
|
{
|
||||||
case 'FlagsSet':
|
case 'FlagsSet':
|
||||||
|
// TB (probably other MUA too) mark mail as deleted, our UI removes/expunges it immediatly
|
||||||
|
if (pushData.acl.flags.includes('\\Deleted'))
|
||||||
|
{
|
||||||
|
pushData.type = 'delete';
|
||||||
|
return this._super.call(this, pushData);
|
||||||
|
}
|
||||||
this.pushUpdateFlags(pushData);
|
this.pushUpdateFlags(pushData);
|
||||||
break;
|
break;
|
||||||
case 'FlagsClear':
|
case 'FlagsClear':
|
||||||
|
Loading…
Reference in New Issue
Block a user