1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 01:06:04 +00:00

Prevent crash

This commit is contained in:
M66B 2020-08-17 19:42:39 +02:00
parent d51505b717
commit 6916b279f1

View file

@ -298,7 +298,8 @@ public class EntityMessage implements Serializable {
Element strong = document.createElement("strong"); Element strong = document.createElement("strong");
strong.text(Helper.getString(context, l, R.string.title_received) + " "); strong.text(Helper.getString(context, l, R.string.title_received) + " ");
p.appendChild(strong); p.appendChild(strong);
p.appendText(DF.format(received)); if (received != null) // embedded messages
p.appendText(DF.format(received));
p.appendElement("br"); p.appendElement("br");
} }
{ {