f28f1d998f
* Add labs option to exclude unverified devices Add a labs option which will, when set, switch into the "invisible crypto" mode of refusing to send keys to, or decrypt messages from, devices that have not been signed by their owner. * DecryptionFailureBody: better error messages Improve the error messages shown for messages from insecure devices. * playwright: factor out `createSecondBotDevice` utility * Playwright test for messages from insecure devices * fixup! DecryptionFailureBody: better error messages Use compound colour tokens, and add a background colour. * fixup! DecryptionFailureBody: better error messages Use compound spacing tokens
36 lines
916 B
Text
36 lines
916 B
Text
// 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 because your device is unverified
|
|
</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>
|
|
`;
|
|
|
|
exports[`DecryptionFailureBody should handle messages from users who change identities after verification 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_DecryptionFailureBody mx_EventTile_content mx_DecryptionFailureVerifiedIdentityChanged"
|
|
>
|
|
<span>
|
|
<div
|
|
class="mx_Icon mx_Icon_16"
|
|
/>
|
|
Verified identity has changed
|
|
</span>
|
|
</div>
|
|
</div>
|
|
`;
|