feat(ffi): export is_low_priority for a room

Signed-off-by: Jonas Jelten <jj@sft.lol>
This commit is contained in:
Jonas Jelten
2026-02-17 11:50:54 +01:00
committed by Benjamin Bouvier
parent 3c13b3edd4
commit 2022017b29
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -31,6 +31,8 @@ All notable changes to this project will be documented in this file.
### Features
- Add `RoomInfo::is_low_priority` for getting the room's `m.lowpriority` tag state
([#6183](https://github.com/matrix-org/matrix-rust-sdk/pull/6183))
- Add `Client::subscribe_to_duplicate_key_upload_errors` for listening to duplicate key
upload errors from `/keys/upload`.
([#6135](https://github.com/matrix-org/matrix-rust-sdk/pull/6135/))
@@ -49,6 +49,7 @@ pub struct RoomInfo {
/// If present, it means the room has been archived/upgraded.
successor_room: Option<SuccessorRoom>,
is_favourite: bool,
is_low_priority: bool,
canonical_alias: Option<String>,
alternative_aliases: Vec<String>,
membership: Membership,
@@ -134,6 +135,7 @@ impl RoomInfo {
is_space: room.is_space(),
successor_room: room.successor_room().map(Into::into),
is_favourite: room.is_favourite(),
is_low_priority: room.is_low_priority(),
canonical_alias: room.canonical_alias().map(Into::into),
alternative_aliases: room.alt_aliases().into_iter().map(Into::into).collect(),
membership: room.state().into(),