1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Added logging

This commit is contained in:
M66B 2020-01-09 15:51:36 +01:00
parent 54959174c2
commit bfb2b2d564

View file

@ -4804,6 +4804,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
// Write decrypted body
String html = parts.getHtml(context);
Helper.writeText(message.getFile(context), html);
Log.i("s/mime html=" + (html == null ? null : html.length()));
// Remove existing attachments
db.attachment().deleteAttachments(message.id);
@ -4820,6 +4821,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
} catch (Throwable ex) {
Log.e(ex);
}
Log.i("s/mime attachment=" + remote);
}
db.message().setMessageEncrypt(message.id, parts.getEncryption());