Don't try (and fail) to show replies for redacted events (#8141)

This commit is contained in:
Michael Telatynski
2022-03-24 12:17:42 +00:00
committed by GitHub
parent 0feecccef1
commit 3b523677fd
3 changed files with 173 additions and 10 deletions
+10
View 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>",
}
`;