mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 21:52:30 -04:00
Make set_state public to avoid unused warning
This commit is contained in:
@@ -650,7 +650,8 @@ impl RoomInfo {
|
||||
self.room_state = RoomState::Invited;
|
||||
}
|
||||
|
||||
pub(crate) fn set_state(&mut self, room_state: RoomState) {
|
||||
/// Set the membership RoomState of this Room
|
||||
pub fn set_state(&mut self, room_state: RoomState) {
|
||||
self.room_state = room_state;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user