Commit 00ec258e 00ec258ec6437eaa3330db07eb08f2f5846f0f0f by Sergey Poznyakoff

(action-keep): Remove the delete mark from the message.

1 parent dbe217d7
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
110 ;;; keep -- does nothing worth mentioning :^) 110 ;;; keep -- does nothing worth mentioning :^)
111 111
112 (define (action-keep) 112 (define (action-keep)
113 #f) 113 (mu-message-delete sieve-current-message #f))
114 114
115 ;;; discard 115 ;;; discard
116 116
...@@ -412,6 +412,7 @@ ...@@ -412,6 +412,7 @@
412 (if (not sieve-my-email) 412 (if (not sieve-my-email)
413 (set! sieve-my-email (mu-username->email))) 413 (set! sieve-my-email (mu-username->email)))
414 ; (DEBUG 1 "Mailbox: " sieve-mailbox) 414 ; (DEBUG 1 "Mailbox: " sieve-mailbox)
415
415 (let ((count (mu-mailbox-messages-count sieve-mailbox))) 416 (let ((count (mu-mailbox-messages-count sieve-mailbox)))
416 (do ((n 1 (1+ n))) 417 (do ((n 1 (1+ n)))
417 ((> n count) #f) 418 ((> n count) #f)
......