From 3a614e45fce9b505bb7e17a31eabffcc5e2d9022 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Tue, 5 Jul 2022 14:48:38 -0500 Subject: threading: enable toggle-threads for server-side threads Enable the :toggle-threads command to work for workers which have Thread capability. The implementation of that feature has the side effect that the threading-enabled config option now sets the default view (threaded or not threaded) for any worker, not just IMAP or notmuch. Signed-off-by: Tim Culverhouse Acked-by: Robin Jarry --- widgets/msglist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets') diff --git a/widgets/msglist.go b/widgets/msglist.go index 399ed72..9e68f21 100644 --- a/widgets/msglist.go +++ b/widgets/msglist.go @@ -88,7 +88,7 @@ func (ml *MessageList) Draw(ctx *ui.Context) { row int = 0 ) - if uiConfig.ThreadingEnabled || store.BuildThreads() { + if store.ThreadedView() { threads := store.Threads counter := len(store.Uids()) -- cgit v1.2.3