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);