diff options
-rw-r--r-- | worker/maildir/worker.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go index 45eca1d4..8c4d78ab 100644 --- a/worker/maildir/worker.go +++ b/worker/maildir/worker.go @@ -760,6 +760,10 @@ func (w *Worker) handleMoveMessages(msg *types.MoveMessages) error { Destination: msg.Destination, Uids: moved, }, nil) + w.worker.PostMessage(&types.MessagesDeleted{ + Message: types.RespondTo(msg), + Uids: moved, + }, nil) return err } |