|
|
@ -4039,9 +4039,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|
|
|
String html = parts.getHtml(context);
|
|
|
|
String html = parts.getHtml(context);
|
|
|
|
Helper.writeText(message.getFile(context), html);
|
|
|
|
Helper.writeText(message.getFile(context), html);
|
|
|
|
|
|
|
|
|
|
|
|
// Remove attachments
|
|
|
|
// Remove existing attachments
|
|
|
|
for (EntityAttachment local : attachments)
|
|
|
|
db.attachment().deleteAttachments(id);
|
|
|
|
db.attachment().deleteAttachment(local.id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Add decrypted attachments
|
|
|
|
// Add decrypted attachments
|
|
|
|
List<EntityAttachment> remotes = parts.getAttachments();
|
|
|
|
List<EntityAttachment> remotes = parts.getAttachments();
|
|
|
|