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

@ -1,7 +1,10 @@
# TODO
- fix ctrl shift D
- deselect/unfocus after removing or replying to messages
- add room members loading indicator
- fix event ID mention regex
- fix lag when clicking accounts in the AccountBar with a very long room list
- fix: on startup, if a room's last event is a membership change,
it won't be visible in timeline no matter what the user config is

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,