diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-26 15:55:13 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-26 15:55:13 +0200 |
| commit | ca5b6ca711e73bc22fdf108e06d82241e059c6ee (patch) | |
| tree | 26fc84fb4f5de11fbf71179fe2f3dc7eb9c01f2e /src/types.h | |
| parent | 5e769b073062a8913d2c4250d079aeb2d7d7b0e8 (diff) | |
| download | qtmaildir-ca5b6ca711e73bc22fdf108e06d82241e059c6ee.tar.gz qtmaildir-ca5b6ca711e73bc22fdf108e06d82241e059c6ee.zip | |
feat: expose a row's sender to the delegate
Diffstat (limited to 'src/types.h')
| -rw-r--r-- | src/types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index 47ddb78..a1689ab 100644 --- a/src/types.h +++ b/src/types.h @@ -166,6 +166,13 @@ struct MessageNode QString messageId; QString threadId; ///< The thread this message belongs to. QString from; + + /// The BARE address of the message's From, with any display name + /// discarded, like `ThreadSummary::firstMessageSender` is for a thread + /// row. `from` above is the raw header and usually carries a display + /// name, which is what the avatar's hash and the business-senders + /// lookup cannot take initials or match against. + QString senderAddress; QString subject; QDateTime date; QStringList tags; |
