diff options
Diffstat (limited to 'commands/msg/toggle-threads.go')
-rw-r--r-- | commands/msg/toggle-threads.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/toggle-threads.go b/commands/msg/toggle-threads.go index af694bc0..babdc31c 100644 --- a/commands/msg/toggle-threads.go +++ b/commands/msg/toggle-threads.go @@ -4,6 +4,7 @@ import ( "errors" "git.sr.ht/~rjarry/aerc/lib/statusline" + "git.sr.ht/~rjarry/aerc/lib/ui" "git.sr.ht/~rjarry/aerc/widgets" ) @@ -36,6 +37,6 @@ func (ToggleThreads) Execute(aerc *widgets.Aerc, args []string) error { } store.SetThreadedView(!store.ThreadedView()) acct.SetStatus(statusline.Threading(store.ThreadedView())) - acct.Messages().Invalidate() + ui.Invalidate() return nil } |