riot-web/test/unit-tests/stores
Florian Duros 5cdcf44b6f
Second batch: Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` (#28466)
* Add `asyncFilter`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `MemberListStore.tsx`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `EventIndex.tsx`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `SendMessageComposer.tsx`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `ScalarMessaging.ts`

* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `RolesRoomSettingsTab.tsx`

* Add reject doc to `asyncFilter`

* Reverse `MemberListStore.loadMembers` condition

* Remove async for `ScalarMessaging.ts`

* Display permission section only after `isEncrypted` is computed

* Display composer only after `isEncrypted` is computed

* Revert "Display composer only after `isEncrypted` is computed"

This reverts commit 4d4e037391.

* Revert "Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `SendMessageComposer.tsx`"

This reverts commit 6bf06da02c.
2024-11-20 14:27:09 +00:00
..
__snapshots__
notifications
oidc
right-panel
room-list
widgets
AccountPasswordStore-test.ts
ActiveWidgetStore-test.ts
AutoRageshakeStore-test.ts
BreadcrumbsStore-test.ts
LifecycleStore-test.ts
MemberListStore-test.ts Second batch: Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` (#28466) 2024-11-20 14:27:09 +00:00
OwnBeaconStore-test.ts
OwnProfileStore-test.ts
ReleaseAnnouncementStore-test.tsx
RoomNotificationStateStore-test.ts
RoomViewStore-test.ts
SetupEncryptionStore-test.ts
SpaceStore-test.ts
ToastStore-test.ts
TypingStore-test.ts
UserProfilesStore-test.ts
VoiceRecordingStore-test.ts
WidgetLayoutStore-test.ts