riot-web/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__
IncomingCallToast-test.tsx Handle group call redaction (#10465) 2023-03-28 13:16:30 +00:00
IncomingLegacyCallToast-test.tsx
UnverifiedSessionToast-test.tsx Simplify `isDeviceVerified` definitions (#10594) 2023-04-14 09:46:37 +00:00