Bump Rust SDK to v0.2.18 and bump app version (#2836)

* Adapt to changes in SDK:
    - Remove name from MatrixRoom, we should use displayName instead.
    - Remove separate invites room list.
    - Added runBlocking to get the now async NotificationClient from the Rust SDK.
    - Made some other functions suspend.
    - Client.resolveRoomAlias now returns a roomId and via parameters, we pass the roomId.

* Add logs removal migration again as `AppMigration03` to make sure we don't leak private data in existing logs.

* Bump app version to `0.4.12`
This commit is contained in:
Jorge Martin Espinosa 2024-05-13 16:48:23 +02:00 committed by GitHub
parent d0923f21cd
commit f2f96e0e0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 111 additions and 79 deletions

View file

@ -44,7 +44,6 @@ import java.io.File
interface MatrixRoom : Closeable {
val sessionId: SessionId
val roomId: RoomId
val name: String?
val displayName: String
val alias: RoomAlias?
val alternativeAliases: List<RoomAlias>

View file

@ -39,14 +39,12 @@ interface RoomList {
/**
* The source of the room list data.
* All: all rooms except invites.
* Invites: only invites.
* All: all rooms.
*
* To apply some dynamic filtering on top of that, use [DynamicRoomList].
*/
enum class Source {
All,
Invites,
All
}
/**

View file

@ -59,11 +59,6 @@ interface RoomListService {
*/
val allRooms: DynamicRoomList
/**
* returns a [RoomList] object of all invites.
*/
val invites: RoomList
/**
* Will set the visible range of all rooms.
* This is useful to load more data when the user scrolls down.