engine: If email not found in outbox, do not queue it again. Prevent an infinite loop. Fix #781

This commit is contained in:
Cédric Bellegarde 2022-08-18 17:42:16 +02:00
parent 843dd1f829
commit 253795b5d4

View file

@ -197,6 +197,7 @@ public class Geary.Smtp.ClientService : Geary.ClientService {
} catch (GLib.IOError.CANCELLED err) {
// Nothing to do here we're already cancelled.
} catch (EngineError.NOT_FOUND err) {
email_handled = true;
debug("Queued email %s not found in outbox, ignoring: %s",
id.to_string(), err.message);
} catch (GLib.Error err) {