Fix missing event text in plaintext reply fallback

This commit is contained in:
miruka
2020-05-20 07:09:24 -04:00
parent 26074fabd5
commit 87fa18fbcd
2 changed files with 4 additions and 1 deletions

View File

@@ -429,7 +429,7 @@ class MatrixClient(nio.AsyncClient):
source_body = getattr(to.source, "body", "")
content["format"] = "org.matrix.custom.html"
content["body"] = f"> <{to.sender_id}> {source_body}"
content["body"] = f"> <{to.sender_id}> {source_body}\n{text}"
to_html = REPLY_FALLBACK.format(
room_id = room_id,