pull/172/head
M66B 5 years ago
parent f9b34ec1e7
commit a777a4391b

@ -262,7 +262,7 @@ public class EntityOperation {
db.message().setMessageUiHide(message.id, true); db.message().setMessageUiHide(message.id, true);
else if (ATTACHMENT.equals(name)) else if (ATTACHMENT.equals(name))
db.attachment().setProgress(jargs.getLong(0), null); db.attachment().setProgress(jargs.getLong(0), 0);
queue(context, message.account, message.folder, message.id, name, jargs); queue(context, message.account, message.folder, message.id, name, jargs);

@ -1304,7 +1304,7 @@ public class MessageHelper {
// Download attachment // Download attachment
File file = EntityAttachment.getFile(context, local.id, local.name); File file = EntityAttachment.getFile(context, local.id, local.name);
db.attachment().setProgress(local.id, null); db.attachment().setProgress(local.id, 0);
if (EntityAttachment.PGP_CONTENT.equals(apart.encrypt) || if (EntityAttachment.PGP_CONTENT.equals(apart.encrypt) ||
EntityAttachment.SMIME_CONTENT.equals(apart.encrypt)) { EntityAttachment.SMIME_CONTENT.equals(apart.encrypt)) {

Loading…
Cancel
Save