typo variable

This commit is contained in:
groug 2023-10-28 14:53:23 +02:00
parent f4efe4aefc
commit 38295b9939

View File

@ -296,7 +296,7 @@ class MatrixRoom
public function send_html($html) public function send_html($html)
{ {
$body = [ $body = [
"body" => $text, "body" => $html,
"msgtype" => "m.html" "msgtype" => "m.html"
]; ];
return $this->client->send_room_event($this->room_id, "m.room.message", $body); return $this->client->send_room_event($this->room_id, "m.room.message", $body);