mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Remove local message if remote is gone
This commit is contained in:
@@ -1506,6 +1506,10 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
|
||||
// There is no use in repeating
|
||||
db.operation().deleteOperation(op.id);
|
||||
|
||||
if (ex instanceof MessageRemovedException)
|
||||
db.message().deleteMessage(op.message);
|
||||
|
||||
continue;
|
||||
} else if (ex instanceof MessagingException) {
|
||||
// Socket timeout is a recoverable condition (send message)
|
||||
|
||||
Reference in New Issue
Block a user