From 006e10357b0e89ba3a8216ff5a6435c5d8f77187 Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Thu, 20 Oct 2022 16:43:44 +0200 Subject: 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 Acked-by: Robin Jarry --- widgets/account.go | 1 + 1 file changed, 1 insertion(+) (limited to 'widgets') 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) -- cgit