Ignore external missing attachments

pull/164/head
M66B 5 years ago
parent fa19574461
commit 8906c0a777

@ -2469,7 +2469,11 @@ public class FragmentCompose extends FragmentBase {
ArrayList<Uri> uris = args.getParcelableArrayList("attachments"); ArrayList<Uri> uris = args.getParcelableArrayList("attachments");
if (uris != null) if (uris != null)
for (Uri uri : uris) 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 && } else if (ref != null &&
("reply".equals(action) || "reply_all".equals(action) || ("reply".equals(action) || "reply_all".equals(action) ||
"forward".equals(action) || "editasnew".equals(action))) { "forward".equals(action) || "editasnew".equals(action))) {

Loading…
Cancel
Save