about summary refs log tree commit diff stats
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, 0 insertions, 3 deletions
diff --git a/worker/imap/open.go b/worker/imap/open.go
index 891b8a2..0a0d9fe 100644
--- a/worker/imap/open.go
+++ b/worker/imap/open.go
@@ -18,9 +18,6 @@ func (imapw *IMAPWorker) handleOpenDirectory(msg *types.OpenDirectory) {
 		}, nil)
 	} else {
 		imapw.worker.PostMessage(&types.Done{types.RespondTo(msg)}, nil)
-		if imapw.idleStop == nil {
-			imapw.idleStop = make(chan struct{})
-		}
 	}
 }