element-web/test/components/views
Richard van der Hoff 46eb34a55d
Kill off references to deprecated getStoredDevice and getStoredDevicesForUser (#11152)
* Use new `CryptoEvent.VerificationRequestReceived` event

https://github.com/matrix-org/matrix-js-sdk/pull/3514 deprecates
`CryptoEvent.VerificationRequest` in favour of
`CryptoEvent.VerificationRequestReceived`. Use the new event.

* Factor out `getDeviceCryptoInfo` function

I seem to be writing this logic several times, so let's factor it out.

* Factor out `getUserDeviceIds` function

Another utility function

* VerificationRequestToast: `getStoredDevice` -> `getDeviceCryptoInfo`

* SlashCommands: `getStoredDevice` -> `getDeviceCryptoInfo`

* MemberTile: `getStoredDevicesForUser` -> `getUserDeviceIds`

* Remove redundant mock of `getStoredDevicesForUser`
2023-06-28 12:39:34 +00:00
..
audio_messages Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
auth Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
avatars Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
beacon Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
beta Apply prettier formatting 2022-12-12 12:24:14 +01:00
context_menus Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
dialogs Fix server picker not allowing you to switch from custom to default (#11127) 2023-06-22 13:48:15 +00:00
elements Handle permalinks in room topic (#11115) 2023-06-21 18:09:22 +00:00
emojipicker Fix regression in emoji picker order mangling after clearing filter (#10854) 2023-05-11 13:24:39 +00:00
location ARIA Accessibility improvements (#10675) 2023-04-21 09:48:48 +00:00
messages Remove feature_favourite_messages as it is has been abandoned for now (#11097) 2023-06-15 11:02:45 +00:00
polls/pollHistory Use aria descriptions instead of labels for TextWithTooltip (#10952) 2023-05-25 08:42:09 +00:00
right_panel Kill off references to deprecated getStoredDevice and getStoredDevicesForUser (#11152) 2023-06-28 12:39:34 +00:00
rooms Use MatrixClientPeg::safeGet for strict typing (#10989) 2023-06-21 17:29:44 +01:00
settings Disable encryption toggle in room settings when force disabled (#11122) 2023-06-21 23:17:30 +00:00
spaces Use MatrixClientPeg::safeGet in src/components/views/* (#10987) 2023-06-15 08:46:19 +01:00
toasts Kill off references to deprecated getStoredDevice and getStoredDevicesForUser (#11152) 2023-06-28 12:39:34 +00:00
typography Notifications: inline error message on notifications saving error (#10288) 2023-03-13 21:59:04 +00:00
user-onboarding Prefer MatrixClientContext over MatrixClientPeg (#10986) 2023-06-14 13:42:07 +01:00
voip Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00