mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 15:46:34 +02:00
Check drafts folder on debug info
This commit is contained in:
@@ -1182,6 +1182,8 @@ public class Log {
|
||||
|
||||
EntityIdentity identity = identities.get(0);
|
||||
EntityFolder drafts = db.folder().getFolderByType(identity.account, EntityFolder.DRAFTS);
|
||||
if (drafts == null)
|
||||
throw new IllegalArgumentException(context.getString(R.string.title_no_drafts));
|
||||
|
||||
draft = new EntityMessage();
|
||||
draft.account = drafts.account;
|
||||
|
||||
Reference in New Issue
Block a user