aboutsummaryrefslogtreecommitdiff
path: root/worker/imap/open.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/imap/open.go')
-rw-r--r--worker/imap/open.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/imap/open.go b/worker/imap/open.go
index bdb794b..78bcbb4 100644
--- a/worker/imap/open.go
+++ b/worker/imap/open.go
@@ -89,6 +89,9 @@ func convertThreads(threads []*sortthread.Thread) ([]*types.Thread, int) {
Uid: t.Id,
Children: children,
}
+ for _, child := range children {
+ child.Parent = conv[i]
+ }
count += childCount + 1
}
return conv, count