element-web-Github/test/toasts
Richard van der Hoff 70b87f8bde
Simplify isDeviceVerified definitions (#10594)
* Simplify `isDeviceVerified` definitions

Currently, we have two similar but different definitions of `isDeviceVerified`,
and they both do a lot of wrangling that relies on js-sdk internals. We can
simplify it a lot by just calling `MatrixClientPeg.checkDeviceTrust`.

* fix tests

* more test fixes
2023-04-14 09:46:37 +00:00
..
__snapshots__ Update „new device“ toast texts and buttons (#10200) 2023-02-23 10:25:33 +01:00
IncomingCallToast-test.tsx Handle group call redaction (#10465) 2023-03-28 13:16:30 +00:00
IncomingLegacyCallToast-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
UnverifiedSessionToast-test.tsx Simplify isDeviceVerified definitions (#10594) 2023-04-14 09:46:37 +00:00