diff options
Diffstat (limited to 'worker')
-rw-r--r-- | worker/maildir/worker.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go index 467f2aa..ce548ff 100644 --- a/worker/maildir/worker.go +++ b/worker/maildir/worker.go @@ -498,11 +498,12 @@ func (w *Worker) handleFlagMessages(msg *types.FlagMessages) error { Message: types.RespondTo(msg), Info: info, }, nil) - - w.worker.PostMessage(&types.DirectoryInfo{ - Info: w.getDirectoryInfo(w.selectedName), - }, nil) } + + w.worker.PostMessage(&types.DirectoryInfo{ + Info: w.getDirectoryInfo(w.selectedName), + }, nil) + return nil } |