From 1bffe443bcc024441ce1c0bdef118be5f026faef Mon Sep 17 00:00:00 2001 From: N-Pex Date: Thu, 11 Sep 2025 16:00:18 +0200 Subject: [PATCH] Make sure body is set --- src/plugins/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/utils.js b/src/plugins/utils.js index a980545..a1f0b91 100644 --- a/src/plugins/utils.js +++ b/src/plugins/utils.js @@ -223,7 +223,7 @@ class Util { } sendTextMessage(matrixClient, roomId, text, editedEvent, replyToEvent, txnId) { - var content = ContentHelpers.makeTextMessage(text); + var content = ContentHelpers.makeTextMessage(text ?? ""); if (editedEvent) { content["m.relates_to"] = { rel_type: "m.replace",