Don't try (and fail) to show replies for redacted events (#8141)
This commit is contained in:
parent
0feecccef1
commit
3b523677fd
3 changed files with 173 additions and 10 deletions
10
test/__snapshots__/Reply-test.ts.snap
Normal file
10
test/__snapshots__/Reply-test.ts.snap
Normal file
|
@ -0,0 +1,10 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Reply getNestedReplyText Returns valid reply fallback text for m.text msgtypes 1`] = `
|
||||
Object {
|
||||
"body": "> <@user1:server> body
|
||||
|
||||
",
|
||||
"html": "<mx-reply><blockquote><a href=\\"$$permalink$$\\">In reply to</a> <a href=\\"https://matrix.to/#/@user1:server\\">@user1:server</a><br>body</blockquote></mx-reply>",
|
||||
}
|
||||
`;
|
Loading…
Add table
Add a link
Reference in a new issue