From 287bf609554c5b0e9d82f28e89f6ca988b8fd452 Mon Sep 17 00:00:00 2001 From: Kevin Kuehler Date: Thu, 10 Oct 2019 15:27:13 -0700 Subject: Add thread deletion Signed-off-by: Kevin Kuehler --- worker/imap/open.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'worker/imap/open.go') 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 -- cgit v1.2.3