From 5f51d30e76fa20f8bd1212684ae0b2e1e773a7f3 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 12:26:19 +0200 Subject: feat: find stranded spam mail --- src/mainwindow.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index ab65f1d..a7fbf26 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -1314,6 +1314,13 @@ private: /// without moving. void showStrandedDeletedMail(); + /// The spam half of the same cleanup: runs the query that finds mail + /// tagged `spam` whose file is not inside any account's spam folder. Like + /// its Delete sibling it REPORTS and moves nothing, and it is repeatable + /// for the same reason: mail reaches this state again whenever another + /// client tags without moving. + void showStrandedSpamMail(); + /// Asks the worker what is in the trash. The answer arrives at /// onThreadMessagesResolved() tagged `empty_trash` and goes to /// confirmAndPurge(): the count in the dialog has to be what will actually -- cgit v1.2.3