element-x-ada/libraries/matrix/api
Benoit Marty 0817da9691
Fix issues on JoinedRoom / BaseRoom (#4724)
* Import type

* Add test to cover an existing issue. roomCoroutineScope is not cancelled when the class is destroyed

* Cancel roomCoroutineScope when the class is destroyed

* Move `isOneToOne` to BaseRoom, we do not need a JoinedRoom for it.

* Let `roomInfoFlow` be implemented by RustBaseRoom.

It should fix a few issues where we rely on the room info to be live, and it was not the case on RustBaseRoom.

* Add more assertions.
The test would fail anyway if roomCoroutineScope was still active, but it's more explicit with these assertions.
2025-05-15 16:08:58 +00:00
..
src Fix issues on JoinedRoom / BaseRoom (#4724) 2025-05-15 16:08:58 +00:00
build.gradle.kts Improve the callback uri format and customization. (#4664) 2025-05-05 17:46:17 +02:00