riot-web/src/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
..
AnalyticsToast.tsx
BulkUnverifiedSessionsToast.ts
DesktopNotificationsToast.ts
IncomingCallToast.tsx
IncomingLegacyCallToast.tsx
MobileGuideToast.ts
ServerLimitToast.tsx
SetupEncryptionToast.ts
UnverifiedSessionToast.tsx Simplify `isDeviceVerified` definitions (#10594) 2023-04-14 09:46:37 +00:00
UpdateToast.tsx