diff options
Diffstat (limited to 'lib/threadbuilder.go')
-rw-r--r-- | lib/threadbuilder.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/threadbuilder.go b/lib/threadbuilder.go index 5a73397a..c2fee228 100644 --- a/lib/threadbuilder.go +++ b/lib/threadbuilder.go @@ -184,6 +184,9 @@ func (builder *ThreadBuilder) RebuildUids(threads []*types.Thread, inverse bool) var threaduids []uint32 _ = iterT.Value().(*types.Thread).Walk( func(t *types.Thread, level int, currentErr error) error { + if t.Deleted || t.Hidden { + return nil + } threaduids = append(threaduids, t.Uid) return nil }) |