(mail_mbox_commit): Do not store deleted messages into mbox (Thanks Matthew Whitworth).
Showing
1 changed file
with
4 additions
and
3 deletions
... | @@ -94,9 +94,10 @@ mail_mbox_commit () | ... | @@ -94,9 +94,10 @@ mail_mbox_commit () |
94 | } | 94 | } |
95 | message_get_attribute (msg, &attr); | 95 | message_get_attribute (msg, &attr); |
96 | 96 | ||
97 | if (!is_user_mbox && | 97 | if (!is_user_mbox |
98 | (attribute_is_userflag (attr, MAIL_ATTRIBUTE_MBOXED) | 98 | && !attribute_is_deleted (attr) |
99 | || (!hold && attribute_is_read (attr)))) | 99 | && (attribute_is_userflag (attr, MAIL_ATTRIBUTE_MBOXED) |
100 | || (!hold && attribute_is_read (attr)))) | ||
100 | { | 101 | { |
101 | if (!dest_mbox) | 102 | if (!dest_mbox) |
102 | { | 103 | { | ... | ... |
-
Please register or sign in to post a comment