1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

If we DELETE a message from the database, don't then try to UPDATE it

This commit is contained in:
Jesse Vincent 2010-11-12 21:37:54 +00:00
parent e004fa0029
commit 33fd42e766

View File

@ -4917,6 +4917,12 @@ public class LocalStore extends Store implements Serializable
throw new RuntimeException(me);
}
if (flag == Flag.X_DESTROYED && set)
{
return;
}
super.setFlag(flag, set);
/*
* Set the flags on the message.