Display "The sender has blocked you from receiving this message" error message instead of "Unable to decrypt message" (#10202)

This commit is contained in:
Florian Duros
2023-02-22 11:39:09 +01:00
committed by GitHub
parent fbeddba782
commit 58b8df9868
6 changed files with 98 additions and 8 deletions
@@ -0,0 +1,21 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DecryptionFailureBody Should display "The sender has blocked you from receiving this message" 1`] = `
<div>
<div
class="mx_DecryptionFailureBody mx_EventTile_content"
>
The sender has blocked you from receiving this message
</div>
</div>
`;
exports[`DecryptionFailureBody Should display "Unable to decrypt message" 1`] = `
<div>
<div
class="mx_DecryptionFailureBody mx_EventTile_content"
>
Unable to decrypt message
</div>
</div>
`;