Simplification

pull/162/head
M66B 5 years ago
parent 8fbaa3abc8
commit 18def0c4c4

@ -1854,10 +1854,7 @@ class Core {
int sequence = 1; int sequence = 1;
for (EntityAttachment attachment : parts.getAttachments()) { for (EntityAttachment attachment : parts.getAttachments()) {
Log.i(folder.name + " attachment seq=" + sequence + Log.i(folder.name + " attachment seq=" + sequence + " " + attachment);
" name=" + attachment.name + " type=" + attachment.type +
" cid=" + attachment.cid + " pgp=" + attachment.encryption +
" size=" + attachment.size);
attachment.message = message.id; attachment.message = message.id;
attachment.sequence = sequence++; attachment.sequence = sequence++;
attachment.id = db.attachment().insertAttachment(attachment); attachment.id = db.attachment().insertAttachment(attachment);

Loading…
Cancel
Save