ARTEMIS-4547 properly display empty message

This commit is contained in:
Erwin Dondorp 2023-12-21 13:35:55 +01:00 committed by clebertsuconic
parent 6d5c9f170d
commit 6cddc7f5fa
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ var Artemis;
*/
function createBodyText(message) {
Artemis.log.debug("loading message:" + message);
if (message.text) {
if (message.text !== undefined) {
var body = message.text;
var lenTxt = "" + body.length;
message.textMode = "text (" + lenTxt + " chars)";