mirror of https://github.com/M66B/FairEmail.git
Skip adding attachments on receipts
This commit is contained in:
parent
3d5d994852
commit
bad6f79ff7
|
@ -2196,7 +2196,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
if (uris != null)
|
if (uris != null)
|
||||||
for (Uri uri : uris)
|
for (Uri uri : uris)
|
||||||
addAttachment(context, draft.id, uri, false);
|
addAttachment(context, draft.id, uri, false);
|
||||||
} else {
|
} else if (!"receipt".equals(action)) {
|
||||||
int sequence = 0;
|
int sequence = 0;
|
||||||
List<EntityAttachment> attachments = db.attachment().getAttachments(ref.id);
|
List<EntityAttachment> attachments = db.attachment().getAttachments(ref.id);
|
||||||
for (EntityAttachment attachment : attachments)
|
for (EntityAttachment attachment : attachments)
|
||||||
|
|
Loading…
Reference in New Issue