diff options
Diffstat (limited to 'worker/maildir/worker.go')
-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 467f2aa0..ce548ff8 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 } |