[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mail's "quit" copies deleted messages to MBOX (w/ patch)
From: |
Sergey Poznyakoff |
Subject: |
Re: mail's "quit" copies deleted messages to MBOX (w/ patch) |
Date: |
Wed, 17 Jul 2002 11:33:54 +0300 |
Hi, Matthew
> The problem seems
> to be that mail_mbox_commit() never explicitly checks if messages have
> been deleted before moving them.
Thanks a lot! The mail documentation states that '[hold] does not
override the delete command.', so I changed the check to:
if (!is_user_mbox
&& !attribute_is_deleted (attr)
&& (attribute_is_userflag (attr, MAIL_ATTRIBUTE_MBOXED)
|| (!hold && attribute_is_read (attr))))
{
Regards,
Sergey