|
|
@ -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);
|
|
|
|