diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-14 13:03:35 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-14 13:03:35 +0200 |
| commit | d714483b6027425923340d1bcfa0263b8e7ac0bc (patch) | |
| tree | b9f0b4851fa5cd00dfda181777f021279e027db6 /src/config.cpp | |
| parent | 3ba5e6b68a0f4e91884043fab9a705cf7d15b968 (diff) | |
| download | qtmaildir-d714483b6027425923340d1bcfa0263b8e7ac0bc.tar.gz qtmaildir-d714483b6027425923340d1bcfa0263b8e7ac0bc.zip | |
fix: gate spam like delete, and keep one origin in the model
Diffstat (limited to 'src/config.cpp')
| -rw-r--r-- | src/config.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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") |
