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