From 38295b993960e209d95c50ce8988cb7b8a43adc3 Mon Sep 17 00:00:00 2001 From: groug Date: Sat, 28 Oct 2023 14:53:23 +0200 Subject: [PATCH] typo variable --- phpmatrix.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpmatrix.php b/phpmatrix.php index 7311b7d..fbb0972 100644 --- a/phpmatrix.php +++ b/phpmatrix.php @@ -296,7 +296,7 @@ class MatrixRoom public function send_html($html) { $body = [ - "body" => $text, + "body" => $html, "msgtype" => "m.html" ]; return $this->client->send_room_event($this->room_id, "m.room.message", $body);