Fix formatted body for replies
This commit is contained in:
parent
416bfbe261
commit
f83638aef0
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ class MatrixClient(AppService):
|
||||||
f"> <{event.sender}> {event.body}\n{content['body']}"
|
f"> <{event.sender}> {event.body}\n{content['body']}"
|
||||||
),
|
),
|
||||||
"m.relates_to": {"m.in_reply_to": {"event_id": event.id}},
|
"m.relates_to": {"m.in_reply_to": {"event_id": event.id}},
|
||||||
|
"format": "org.matrix.custom.html",
|
||||||
"formatted_body": f"""<mx-reply><blockquote>\
|
"formatted_body": f"""<mx-reply><blockquote>\
|
||||||
<a href="https://matrix.to/#/{event.room_id}/{event.id}">\
|
<a href="https://matrix.to/#/{event.room_id}/{event.id}">\
|
||||||
In reply to</a><a href="https://matrix.to/#/{event.sender}">\
|
In reply to</a><a href="https://matrix.to/#/{event.sender}">\
|
||||||
|
|
Loading…
Reference in a new issue