aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/toggle-threads.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/toggle-threads.go')
-rw-r--r--commands/msg/toggle-threads.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/toggle-threads.go b/commands/msg/toggle-threads.go
index ac4242b8..aa0e6559 100644
--- a/commands/msg/toggle-threads.go
+++ b/commands/msg/toggle-threads.go
@@ -35,8 +35,8 @@ func (ToggleThreads) Execute(aerc *widgets.Aerc, args []string) error {
return err
}
defer store.Reselect(store.Selected())
- store.SetBuildThreads(!store.BuildThreads())
- acct.SetStatus(statusline.Threading(store.BuildThreads()))
+ store.SetThreadedView(!store.ThreadedView())
+ acct.SetStatus(statusline.Threading(store.ThreadedView()))
acct.Messages().Invalidate()
return nil
}