mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-06 11:39:49 +00:00
Fixed handling message removed exception
This commit is contained in:
parent
afd68f3daa
commit
cdb745d0b7
1 changed files with 3 additions and 3 deletions
|
@ -868,10 +868,10 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
" args=" + op.args);
|
||||
|
||||
EntityMessage message = db.message().getMessage(op.message);
|
||||
if (message == null)
|
||||
throw new MessageRemovedException();
|
||||
|
||||
try {
|
||||
if (message == null)
|
||||
throw new MessageRemovedException();
|
||||
|
||||
db.message().setMessageError(message.id, null);
|
||||
|
||||
if (message.uid == null &&
|
||||
|
|
Loading…
Add table
Reference in a new issue