1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 18:27:43 +00:00

Ignore external missing attachments

This commit is contained in:
M66B 2019-10-28 08:27:14 +01:00
parent fa19574461
commit 8906c0a777

View file

@ -2469,7 +2469,11 @@ public class FragmentCompose extends FragmentBase {
ArrayList<Uri> uris = args.getParcelableArrayList("attachments");
if (uris != null)
for (Uri uri : uris)
addAttachment(context, data.draft.id, uri, false);
try {
addAttachment(context, data.draft.id, uri, false);
} catch (IOException ex) {
Log.e(ex);
}
} else if (ref != null &&
("reply".equals(action) || "reply_all".equals(action) ||
"forward".equals(action) || "editasnew".equals(action))) {