aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-08 10:22:33 +0200
committerDanilo M. <danix@danix.xyz>2026-08-10 08:23:05 +0200
commit879a117cba62df57dfcb0c0dfd4383308fa07f13 (patch)
tree6c46b4617f766e99ad386f115c3acce39e87f9b7 /src/keymap.cpp
parent2dd35b2327975a16e81018f8cd704c32a1e68cf5 (diff)
downloadqtmaildir-879a117cba62df57dfcb0c0dfd4383308fa07f13.tar.gz
qtmaildir-879a117cba62df57dfcb0c0dfd4383308fa07f13.zip
feat(model): expose a thread's replies as child rows
setThreadMessages drops the depth-0 message: it is the thread's first message and the root row already stands for it. Keeping it would show a thread of seven as one root and seven children, contradicting the reply count the row advertises. Calling again replaces rather than appends, so a thread reloaded after a sync does not list its replies twice. A message row reports its own sender and subject, not the thread's. That is the mistake worth guarding: the thread's author summary usually contains the first sender too, so reading it renders something plausible for the root's own reply and wrong for every other one. Mutation-checked, and the wrong version returns 'Alice' where 'Bob' belongs. Child rows carry no tag pills. The strip is a row-wide band of the thread's tags; one under each reply would stripe the list and repeat identical tags down the expansion.
Diffstat (limited to 'src/keymap.cpp')
0 files changed, 0 insertions, 0 deletions