diff --git a/bindings/matrix-sdk-ffi/src/room_info.rs b/bindings/matrix-sdk-ffi/src/room_info.rs index 9fa63f36500..8e89584a001 100644 --- a/bindings/matrix-sdk-ffi/src/room_info.rs +++ b/bindings/matrix-sdk-ffi/src/room_info.rs @@ -23,7 +23,6 @@ pub struct RoomInfo { is_space: bool, is_tombstoned: bool, is_favourite: bool, - is_encrypted: bool, canonical_alias: Option, alternative_aliases: Vec, membership: Membership, @@ -77,7 +76,6 @@ impl RoomInfo { is_space: room.is_space(), is_tombstoned: room.is_tombstoned(), is_favourite: room.is_favourite(), - is_encrypted: room.is_encrypted().await.unwrap_or(false), canonical_alias: room.canonical_alias().map(Into::into), alternative_aliases: room.alt_aliases().into_iter().map(Into::into).collect(), membership: room.state().into(),