Browse Source

Fixed composing messages

main
M66B 6 years ago
parent
commit
b108659c06
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      app/src/main/java/eu/faircode/email/FragmentCompose.java

+ 2
- 3
app/src/main/java/eu/faircode/email/FragmentCompose.java View File

@ -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…
Cancel
Save