1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-17 07:30:16 -05:00

update our counts on destroy before actually destroying the message, so

we have something to call isSet on
This commit is contained in:
Jesse Vincent 2010-11-21 05:31:34 +00:00
parent 43cef54ad6
commit 0e5b5de409

View File

@ -6249,9 +6249,9 @@ public class LocalStore extends Store implements Serializable, LocalStoreMigrati
{
try
{
updateFolderCountsOnFlag(Flag.X_DESTROYED, true);
((LocalFolder) mFolder).deleteAttachments(mId);
mDb.execSQL("DELETE FROM messages WHERE id = ?", new Object[] { mId });
updateFolderCountsOnFlag(Flag.X_DESTROYED, true);
}
catch (MessagingException e)
{