element-web/test/components/views/right_panel
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
..
__snapshots__ Use aria descriptions instead of labels for TextWithTooltip (#10952) 2023-05-25 08:42:09 +00:00
PinnedMessagesCard-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RoomHeaderButtons-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
RoomSummaryCard-test.tsx Use aria descriptions instead of labels for TextWithTooltip (#10952) 2023-05-25 08:42:09 +00:00
UserInfo-test.tsx Kill off references to deprecated `getStoredDevice` and `getStoredDevicesForUser` (#11152) 2023-06-28 12:39:34 +00:00
VerificationPanel-test.tsx VerificationPanel: avoid use of `getStoredDevice` (#11129) 2023-06-23 12:38:06 +00:00