oops
This commit is contained in:
parent
597c82cd88
commit
0ac5faf357
1 changed files with 2 additions and 2 deletions
|
@ -274,14 +274,14 @@ class MatrixClient(AppService):
|
|||
<a href="https://matrix.to/#/{event.room_id}/{event.id}">\
|
||||
In reply to</a><a href="https://matrix.to/#/{event.sender}">\
|
||||
{event.sender}</a><br>{event.formatted_body}</blockquote></mx-reply>\
|
||||
{content["formatted_body"]}""",
|
||||
{content.get("formatted_body", content['body'])}""",
|
||||
}
|
||||
|
||||
if edit:
|
||||
content = {
|
||||
**content,
|
||||
"body": f" * {content['body']}",
|
||||
"formatted_body": f" * {content['formatted_body']}",
|
||||
"formatted_body": f" * {content.get('formatted_body', content['body'])}",
|
||||
"m.relates_to": {"event_id": edit, "rel_type": "m.replace"},
|
||||
"m.new_content": {**content},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue