aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--worker/imap/flags.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/imap/flags.go b/worker/imap/flags.go
index 180bc261..945597df 100644
--- a/worker/imap/flags.go
+++ b/worker/imap/flags.go
@@ -108,6 +108,9 @@ func (imapw *IMAPWorker) handleStoreOps(
emitErr(err)
return
}
+ imapw.worker.PostAction(&types.CheckMail{
+ Directories: []string{imapw.selected.Name},
+ }, nil)
imapw.worker.PostMessage(
&types.Done{Message: types.RespondTo(msg)}, nil)
}