aboutsummaryrefslogtreecommitdiff
path: root/worker/imap
diff options
context:
space:
mode:
authorKevin Kuehler <keur@xcf.berkeley.edu>2019-10-10 15:27:13 -0700
committerBen Burwell <ben@benburwell.com>2019-10-12 20:58:10 -0400
commit287bf609554c5b0e9d82f28e89f6ca988b8fd452 (patch)
tree1a78451c00cd0055be679a0a0a0c14dc0056872c /worker/imap
parentbaa8813dcc1bf4dbd18763df9ee654472ae0e433 (diff)
Add thread deletion
Signed-off-by: Kevin Kuehler <keur@xcf.berkeley.edu>
Diffstat (limited to 'worker/imap')
-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