forked from extern/egroupware
remove mails marked as \Delete eg. by TB, which does not expunge immediatly
This commit is contained in:
parent
d1c0b972a6
commit
783358f264
@ -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