Prevent crash

This commit is contained in:
M66B 2020-08-17 19:42:39 +02:00
parent d51505b717
commit 6916b279f1
1 changed files with 2 additions and 1 deletions

View File

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