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 Conform more code to `strictNullChecks` (#10444 2023-03-27 08:01:09 +01:00
BulkUnverifiedSessionsToast.ts Enable `@typescript-eslint/explicit-function-return-type` in /src (#9788) 2023-01-12 13:25:14 +00:00
DesktopNotificationsToast.ts Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
IncomingCallToast.tsx Handle group call redaction (#10465) 2023-03-28 13:16:30 +00:00
IncomingLegacyCallToast.tsx Apply `strictNullChecks` around the codebase (#10302 2023-03-07 13:19:18 +00:00
MobileGuideToast.ts Enable `@typescript-eslint/explicit-function-return-type` in /src (#9788) 2023-01-12 13:25:14 +00:00
ServerLimitToast.tsx Enable `@typescript-eslint/explicit-function-return-type` in /src (#9788) 2023-01-12 13:25:14 +00:00
SetupEncryptionToast.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
UnverifiedSessionToast.tsx Simplify `isDeviceVerified` definitions (#10594) 2023-04-14 09:46:37 +00:00
UpdateToast.tsx Improve typescript null checking in places (#10073 (#10073 2023-02-03 15:27:47 +00:00