Commit 7089ffd4 7089ffd463a43f0821273d47d601d3c3a9034c4d by Sergey Poznyakoff

(moderator_action): set deleted flag manually, do not use undeclared sieve_mark_deleted.

1 parent 362f3f52
...@@ -306,7 +306,12 @@ moderator_action (mu_sieve_machine_t mach, mu_list_t args, mu_list_t tags) ...@@ -306,7 +306,12 @@ moderator_action (mu_sieve_machine_t mach, mu_list_t args, mu_list_t tags)
306 else 306 else
307 { 307 {
308 if (!mu_sieve_tag_lookup (tags, "keep", NULL)) 308 if (!mu_sieve_tag_lookup (tags, "keep", NULL))
309 sieve_mark_deleted (msg, 1); 309 {
310 mu_attribute_t attr = 0;
311
312 if (mu_message_get_attribute (msg, &attr) == 0)
313 mu_attribute_set_deleted (attr);
314 }
310 else 315 else
311 discard = 0; 316 discard = 0;
312 } 317 }
......