mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-26 02:01:00 -04:00
This method will return a `RoomPreview` for the provided room id. Also added `fn RoomPreview::leave()` action to be able to decline invites or cancel knocks, since there wasn't a `Client::leave_room_by_id` counterpart as there is for join. The PR also deprecates `RoomListItem::invited_room`, since we have a better alternative now. Co-authored-by: Benjamin Bouvier <benjamin@bouvier.cc>