aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--worker/imap/list.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/worker/imap/list.go b/worker/imap/list.go
index 552fb45..a61ea06 100644
--- a/worker/imap/list.go
+++ b/worker/imap/list.go
@@ -46,6 +46,7 @@ func (imapw *IMAPWorker) handleListDirectories(msg *types.ListDirectories) {
Error: err,
}, nil)
} else {
+ <-done
imapw.worker.PostMessage(
&types.Done{types.RespondTo(msg)}, nil)
}