mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 21:22:26 -05:00
Protect against a NullPointerException that happened once, but should
never have happened.
This commit is contained in:
parent
0a4577c930
commit
9d2a4c3af9
@ -3551,8 +3551,11 @@ public class MessagingController implements Runnable
|
||||
localFolder = localStore.getFolder(account.getDraftsFolderName());
|
||||
localFolder.open(OpenMode.READ_WRITE);
|
||||
Message message = localFolder.getMessage(uid);
|
||||
if (message != null)
|
||||
{
|
||||
deleteMessages(new Message[] { message }, null);
|
||||
}
|
||||
}
|
||||
catch (MessagingException me)
|
||||
{
|
||||
addErrorMessage(account, me);
|
||||
|
Loading…
Reference in New Issue
Block a user