about summary refs log tree commit diff stats
path: root/worker/maildir
diff options
context:
space:
mode:
Diffstat (limited to 'worker/maildir')
-rw-r--r--worker/maildir/worker.go9
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
 }