From d714483b6027425923340d1bcfa0263b8e7ac0bc Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 13:03:35 +0200 Subject: fix: gate spam like delete, and keep one origin in the model --- src/config.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/config.cpp') diff --git a/src/config.cpp b/src/config.cpp index 390848a..184c756 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -68,8 +68,8 @@ const QStringList kQueryGenerators = { QStringLiteral("unread"), QStringLiteral("spam") }; /// The tag a generator matches, for the three filters that are a plain tag -/// query. Empty for "sent", "drafts" and "trash", which compose from each -/// account's folder instead and are handled separately. +/// query. Empty for "sent", "drafts", "trash" and "spam", which compose from +/// each account's folder instead and are handled separately. QString generatorTag(const QString &generator) { if (generator == QStringLiteral("unread")) @@ -85,8 +85,9 @@ QString generatorTag(const QString &generator) /// user's own message back into the conversation it answers, and "drafts" is /// worse: a thread row stands for its first matched message, which for a draft /// reply is the message being replied TO, so the draft itself is unreachable. -/// "trash" stays threaded, since a deleted message still belongs to its -/// conversation. Closed set, and the one place the three views are decided. +/// "trash" and "spam" stay threaded, since a deleted or spammed message still +/// belongs to its conversation. Closed set, and the one place the three views +/// are decided. bool generatorIsFlat(const QString &generator) { return generator == QStringLiteral("sent") -- cgit v1.2.3