aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
authorinwit <inwit@sindominio.net>2023-10-29 23:45:56 +0100
committerRobin Jarry <robin@jarry.cc>2023-11-02 11:59:39 +0100
commit4bd93fccbf18a855016bd26a3ec8cd9ca7cf5600 (patch)
treeab1041819a2e50d454111ca7859cfa7ec0700361 /worker
parent9ce4af011c93e2816ce04012f6205b54e0ed1d51 (diff)
downloadaerc-4bd93fccbf18a855016bd26a3ec8cd9ca7cf5600.tar.gz
fold: add an option to toggle folding
Add a toggle option (-t) to :fold/:unfold commands to allow for switching the folding status of a thread. Changelog-Added: Toggle folding with `:fold -t`. Signed-Off-By: inwit <inwit@sindominio.net> Acked-by: Robin Jarry <robin@jarry.cc> Tested-by: Jason Cox <me@jasoncarloscox.com>
Diffstat (limited to 'worker')
-rw-r--r--worker/types/thread.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/types/thread.go b/worker/types/thread.go
index b4f5ac5f..fdd2a8e6 100644
--- a/worker/types/thread.go
+++ b/worker/types/thread.go
@@ -15,7 +15,7 @@ type Thread struct {
NextSibling *Thread
FirstChild *Thread
- Hidden int // if this flag is not zero the message isn't rendered in the UI
+ Hidden int // if this flag is not zero the message isn't rendered in the UI
Deleted bool // if this flag is set the message was deleted
// Context indicates the message doesn't match the mailbox / query but