Benoit Marty
b6fd46ece6
Add some missing runCatching to protect innerRoom access.
...
May fix https://sentry.tools.element.io/organizations/element/issues/533226/events/e22d3a80ab204ce392e65c989c2753ac/
1 month ago
Benoit Marty
d14361760b
No need to launch a coroutine to send the first value.
1 month ago
Benoit Marty
1309d04649
mxCallbackFlow already contains a `tryOrNull` wrapper around the block, so not need to add an extra one.
...
Also the block can return a non-null TaskHandle.
1 month ago
renovate[bot]
410f879c9f
Update dependency net.java.dev.jna:jna to v5.15.0
1 month ago
Benoit Marty
0402703803
Remove ability to change default common trace level
1 month ago
Jorge Martin Espinosa
16d5be3ed5
Fix pinned events banner reappearing when loading ( #3519 )
...
* Fix pinned events banner reappearing when loading.
Make the `RustTimelineItem.timelineItems` property a `SharedFlow` so we don't always incorrectly load an empty state by default.
1 month ago
Benoit Marty
6fc801ede6
Use aNotificationData and aNotifiableMessageEvent
...
And cleanup existing tests.
1 month ago
Benoit Marty
8c5e682f1b
Cleanup
1 month ago
Benoit Marty
98cfa25d5b
Add test on RustPushersService
1 month ago
Benoit Marty
8439c104fe
Add test on AccountManagementAction.toRustAction()
1 month ago
Benoit Marty
f209eb27ac
Add test on RustNotificationSettingsService
1 month ago
Benoit Marty
6fa585f4c8
Add unit test on RustNotificationService
...
And fix mapping error.
1 month ago
Benoit Marty
145c40ddfa
Add unit test on ExternalSession.toSessionData
1 month ago
Benoit Marty
bfaa9f843c
Add unit test on HomeserverLoginDetails.map()
1 month ago
Benoit Marty
e117b74b0b
Fix test
1 month ago
Benoit Marty
8127aa6351
Cleanup constructor and avoid creating many mapper instances
1 month ago
Benoit Marty
de7d93e37d
Add test on RustRoomListService
1 month ago
Benoit Marty
1fd1f016be
Add test on RoomListFactory
1 month ago
Benoit Marty
b67c428793
Add test on RoomDirectorySearchProcessor
...
Give the responsibility to the RoomDirectorySearchProcessor to create the `MutableSharedFlow` since it requires a replayCache to work properly.
1 month ago
Benoit Marty
d1be4349f0
Add test on RustRoomDirectoryList
1 month ago
Benoit Marty
a7d4babf48
Inject constructor
1 month ago
Benoit Marty
47df0d1e40
Add test on RustRoomDirectoryService
1 month ago
Benoit Marty
77e6a9450a
Cleanup
1 month ago
Benoit Marty
86844e0b27
Add test on RustClientSessionDelegate
1 month ago
Benoit Marty
0e90e57444
Add test skeleton for RustMatrixClientFactory and RustMatrixAuthenticationService
1 month ago
Benoit Marty
40e8b56f79
Create a factory function for RustMatrixClient
1 month ago
Benoit Marty
96a2828de5
Change signature of RustMatrixClient, val are not always necessary.
1 month ago
Benoit Marty
c8c79319eb
Add first test on RustMatrixClient
1 month ago
ganfra
b364cee500
Room list : debounce subscribe to visible rooms.
1 month ago
Benoit Marty
4a4a8073fa
Cleanup
1 month ago
Benoit Marty
e9a898ff82
Cleanup
1 month ago
Benoit Marty
85ff062c73
Add unit test on SessionPathsProvider
1 month ago
Benoit Marty
619841fc80
Add unit test on MatrixTimelineDiffProcessor
1 month ago
Benoit Marty
6cb4d10375
Fix typo
1 month ago
Benoit Marty
eea976bb18
Add unit test on toSessionData
1 month ago
Benoit Marty
c26e889d45
Add unit test on DefaultPassphraseGenerator
1 month ago
Benoit Marty
db311c4ccc
Add unit test on DefaultUserServerResolver
1 month ago
Benoit Marty
525186cb18
Exclude RoomListEntriesUpdate.describe() from coverage, it's only used to debug the app.
1 month ago
Benoit Marty
e111d78a24
Add missing test for RoomListEntriesUpdate.Reset
1 month ago
Benoit Marty
51e661013e
Add unit test on PollKind mapper
1 month ago
Benoit Marty
32c2101184
Add unit test on LoadingIndicatorsPostProcessor
1 month ago
Benoit Marty
2ee71b5dee
Add unit test on LastForwardIndicatorsPostProcessor
1 month ago
Benoit Marty
26260aed9f
Fix compilation issue after rebase.
1 month ago
Benoit Marty
98f6effd8d
Add unit test on RoomMemberMapper
1 month ago
Benoit Marty
b237485a6c
Add unit test on AssetType.toInner()
1 month ago
Benoit Marty
7b75affe2d
Add unit test on RoomPreviewMapper
1 month ago
Benoit Marty
2d274a9b34
Add unit test on RoomDescriptionMapper
1 month ago
Benoit Marty
9ae7e998c0
Add unit test on SyncServiceState.toSyncState
1 month ago
Benoit Marty
e2a4fbbd61
Add unit test on UserSearchResultMapper
1 month ago
Benoit Marty
88004db531
Add unit test on UserProfileMapper
1 month ago