aboutsummaryrefslogtreecommitdiffstats
path: root/app/msglist.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/msglist.go')
-rw-r--r--app/msglist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/msglist.go b/app/msglist.go
index e57bfe9d..146d032d 100644
--- a/app/msglist.go
+++ b/app/msglist.go
@@ -485,7 +485,7 @@ func (t *threadView) Update(data state.DataSetter, uid uint32) {
t.prev = thread
t.prevSubj = subject
count = countThreads(thread)
- folded = thread.FirstChild != nil && thread.FirstChild.Hidden
+ folded = thread.FirstChild != nil && thread.FirstChild.Hidden != 0
context = thread.Context
}
data.SetThreading(prefix, same, count, folded, context)