send_html fix
This commit is contained in:
parent
38295b9939
commit
ae5d0c7800
@ -297,7 +297,9 @@ class MatrixRoom
|
|||||||
{
|
{
|
||||||
$body = [
|
$body = [
|
||||||
"body" => $html,
|
"body" => $html,
|
||||||
"msgtype" => "m.html"
|
"formatted_body" => $html,
|
||||||
|
"msgtype" => "m.text",
|
||||||
|
"format" => "org.matrix.custom.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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user