1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-07-30 04:23:07 +03:00

Fix the message for messages from unknown devices (#3743)

This commit is contained in:
Richard van der Hoff
2023-09-21 10:34:34 +02:00
committed by GitHub
parent fde6cebc20
commit f134d6db01
3 changed files with 11 additions and 2 deletions

View File

@ -258,7 +258,7 @@ describe("Crypto", function () {
const event = await buildEncryptedEvent();
expect(await client.getCrypto()!.getEncryptionInfoForEvent(event)).toEqual({
shieldColour: EventShieldColour.RED,
shieldReason: EventShieldReason.UNVERIFIED_IDENTITY,
shieldReason: EventShieldReason.UNSIGNED_DEVICE,
});
});