summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-14 12:26:19 +0200
committerDanilo M. <danix@danix.xyz>2026-09-14 12:26:19 +0200
commit5f51d30e76fa20f8bd1212684ae0b2e1e773a7f3 (patch)
tree6d96cb0bbb9d6461a8a25d9cbe7a072e4968efbd /src/mainwindow.h
parent3d986788b9576451ef1215e0f423d587629b3f81 (diff)
downloadqtmaildir-5f51d30e76fa20f8bd1212684ae0b2e1e773a7f3.tar.gz
qtmaildir-5f51d30e76fa20f8bd1212684ae0b2e1e773a7f3.zip
feat: find stranded spam mail
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h7
1 files changed, 7 insertions, 0 deletions
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