mirror of https://github.com/M66B/FairEmail.git
Suppress message removed error
This commit is contained in:
parent
3da36bcbb6
commit
154a998356
|
@ -1360,7 +1360,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
if (ex instanceof SendFailedException)
|
if (ex instanceof SendFailedException)
|
||||||
reportError(null, folder.name, ex);
|
reportError(null, folder.name, ex);
|
||||||
|
|
||||||
if (message != null)
|
if (message != null && !(ex instanceof MessageRemovedException))
|
||||||
db.message().setMessageError(message.id, Helper.formatThrowable(ex));
|
db.message().setMessageError(message.id, Helper.formatThrowable(ex));
|
||||||
|
|
||||||
if (ex instanceof MessageRemovedException ||
|
if (ex instanceof MessageRemovedException ||
|
||||||
|
|
Loading…
Reference in New Issue