diff options
Diffstat (limited to 'lib/msgstore.go')
-rw-r--r-- | lib/msgstore.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go index 6186b195..ab48f331 100644 --- a/lib/msgstore.go +++ b/lib/msgstore.go @@ -442,6 +442,14 @@ func (store *MessageStore) ThreadedView() bool { return store.threadedView } +func (store *MessageStore) ToggleThreadContext() { + if !store.threadedView { + return + } + store.threadContext = !store.threadContext + store.Sort(store.sortCriteria, nil) +} + func (store *MessageStore) BuildThreads() bool { return store.buildThreads } |