aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-13 20:17:43 +0200
committerDanilo M. <danix@danix.xyz>2026-09-13 20:17:43 +0200
commit533c9243bede053f4ea7e1f20de13e72c2b939b8 (patch)
tree9b2dfef2ed92cee363c825d3c29e6dcb7e6e3439 /src/types.h
parent18ff1f33f64428ab96ca0b5ea22e681be564c886 (diff)
downloadqtmaildir-533c9243bede053f4ea7e1f20de13e72c2b939b8.tar.gz
qtmaildir-533c9243bede053f4ea7e1f20de13e72c2b939b8.zip
refactor: rename the origin tag to moved-from: with overwrite semantics
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index fb7901c..6fd54a2 100644
--- a/src/types.h
+++ b/src/types.h
@@ -23,6 +23,11 @@
#include <QString>
#include <QStringList>
+/// Prefix of the origin tag a move writes. One origin tag per message,
+/// overwritten on each move, so a reader cannot be handed two and forced to
+/// pick one silently. Not translated, not user-facing.
+inline constexpr auto kOriginTagPrefix = "moved-from:";
+
struct ThreadSummary
{
QString threadId;