[geary/gnumdk/stable] engine: If email not found in outbox, do not queue it again. Prevent an infinite loop. Fix #781
- From: Cédric Bellegarde <cbellegarde src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/gnumdk/stable] engine: If email not found in outbox, do not queue it again. Prevent an infinite loop. Fix #781
- Date: Sun, 21 Aug 2022 19:45:17 +0000 (UTC)
commit d9aaa3766ac390eae14fc278d34907a2159224d6
Author: Cédric Bellegarde <cedric.bellegarde@ædishatz.org>
Date: Thu Aug 18 17:42:16 2022 +0200
engine: If email not found in outbox, do not queue it again. Prevent an infinite loop. Fix #781
src/engine/smtp/smtp-client-service.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/engine/smtp/smtp-client-service.vala b/src/engine/smtp/smtp-client-service.vala
index 49c09cfa1..57c32890f 100644
--- a/src/engine/smtp/smtp-client-service.vala
+++ b/src/engine/smtp/smtp-client-service.vala
@@ -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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]