Fixed HTML not being used in messages

This commit is contained in:
2026-08-21 07:27:26 +03:00
parent cee1275e3c
commit ce9c157b72

2
bot.py
View File

@@ -486,7 +486,7 @@ class MatrixBot:
}
if is_html:
content["format"] = "org.matrix.custom.html"
content["formatted_body"] = content["body"]
content["formatted_body"] = text_with_html
# try to send the message
try:
result = await self._client.room_send(