element-web/test/unit-tests/utils
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__ Prepare for repo merge 2024-10-15 11:35:21 +01:00
beacon Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
crypto Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
device Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
dm Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
exportUtils Remove unused icons & styles (#28288) 2024-10-28 14:19:37 +00:00
localRoom Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
location Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
media Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
oidc Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
permalinks Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
room Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
validate Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
AnimationUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
arrays-test.ts Second batch: Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom (#28466) 2024-11-20 14:27:09 +00:00
AutoDiscoveryUtils-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
colour-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
connection-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
createVoiceMessageContent-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
DateUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
direct-messages-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
DMRoomMap-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
enums-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ErrorUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
EventRenderingUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
EventUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
export-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Feedback-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
FileUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
FixedRollingArray-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
FormattingUtils-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
generate-megolm-test-vectors.py Prepare for repo merge 2024-10-15 11:35:21 +01:00
i18n-helpers-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
iterables-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
leave-behaviour-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
local-room-test.ts Iterate 2024-10-18 14:34:02 +01:00
login-test.ts Update type and usage of window.matrixChat to be better React 18 friendly (#28415) 2024-11-13 14:16:29 +00:00
LruCache-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
maps-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MegolmExportEncryption-test.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
membership-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MessageDiffUtils-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MultiInviter-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
notifications-test.ts Start sending stable m.marked_unread events (#28478) 2024-11-18 10:25:36 +00:00
numbers-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
objects-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
PhasedRolloutFeature-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
pillify-test.tsx Switch secondary React trees to the createRoot API (#28296) 2024-11-06 12:44:54 +00:00
PinningUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
promise-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
rooms-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SearchInput-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SessionLock-test.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
sets-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ShieldUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Singleflight-test.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
SnakedObject-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
StorageAccess-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
StorageManager-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
stringOrderField-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
threepids-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
tooltipify-test.tsx Switch secondary React trees to the createRoot API (#28296) 2024-11-06 12:44:54 +00:00
UrlUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
WidgetUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00