Suppress message removed error

This commit is contained in:
M66B 2018-11-22 18:11:33 +01:00
parent 3da36bcbb6
commit 154a998356
1 changed files with 1 additions and 1 deletions

View File

@ -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 ||