aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-10-20 16:43:44 +0200
committerRobin Jarry <robin@jarry.cc>2022-10-27 22:44:39 +0200
commit006e10357b0e89ba3a8216ff5a6435c5d8f77187 (patch)
tree62cd69a39c68948e0e36e03a7106fc80ccc35b6e /widgets
parent88afe7bb4a7425fbce767a64ed454151514fa4f2 (diff)
downloadaerc-006e10357b0e89ba3a8216ff5a6435c5d8f77187.tar.gz
threads: reverse thread ordering
Add reverse-thread-order option to the ui config to enable reverse display of the mesage threads. Default order is the the intial message is on the top with all the replies being displayed below. The reverse options will put the initial message at the bottom with the replies on top. Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets')
-rw-r--r--widgets/account.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go
index 1ad149f0..9761c492 100644
--- a/widgets/account.go
+++ b/widgets/account.go
@@ -286,6 +286,7 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) {
acct.dirlist.UiConfig(name).ForceClientThreads,
acct.dirlist.UiConfig(name).ClientThreadsDelay,
acct.dirlist.UiConfig(name).ReverseOrder,
+ acct.dirlist.UiConfig(name).ReverseThreadOrder,
func(msg *models.MessageInfo) {
acct.conf.Triggers.ExecNewEmail(acct.acct,
acct.conf, msg)