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:
parent
43cef54ad6
commit
0e5b5de409
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user