mirror of https://github.com/M66B/FairEmail.git
Fixed composing messages
This commit is contained in:
parent
6af53cf1a1
commit
b108659c06
|
@ -712,11 +712,10 @@ public class FragmentCompose extends FragmentEx {
|
|||
draft.id = db.message().insertMessage(draft);
|
||||
draft.write(context, body == null ? "" : body);
|
||||
|
||||
if (args.containsKey("attachments")) {
|
||||
ArrayList<Uri> uris = args.getParcelableArrayList("attachments");
|
||||
ArrayList<Uri> uris = args.getParcelableArrayList("attachments");
|
||||
if (uris != null)
|
||||
for (Uri uri : uris)
|
||||
addAttachment(context, draft.id, uri);
|
||||
}
|
||||
|
||||
EntityOperation.queue(db, draft, EntityOperation.ADD);
|
||||
|
||||
|
|
Loading…
Reference in New Issue