matrix-sdk-base: Remove the unused enum RoomStateType

master
Julian Sparber 2021-03-03 11:18:23 +01:00
parent 93e5c34670
commit 780348f546
2 changed files with 1 additions and 12 deletions

View File

@ -153,17 +153,6 @@ fn hoist_room_event_prev_content(
Ok(ev) Ok(ev)
} }
/// Signals to the `BaseClient` which `RoomState` to send to `EventHandler`.
#[derive(Debug)]
pub enum RoomStateType {
/// Represents a joined room, the `joined_rooms` HashMap will be used.
Joined,
/// Represents a left room, the `left_rooms` HashMap will be used.
Left,
/// Represents an invited room, the `invited_rooms` HashMap will be used.
Invited,
}
/// A no IO Client implementation. /// A no IO Client implementation.
/// ///
/// This Client is a state machine that receives responses and events and /// This Client is a state machine that receives responses and events and

View File

@ -58,7 +58,7 @@ pub use rooms::{
}; };
pub use store::{StateChanges, StateStore, Store, StoreError}; pub use store::{StateChanges, StateStore, Store, StoreError};
pub use client::{BaseClient, BaseClientConfig, RoomStateType}; pub use client::{BaseClient, BaseClientConfig};
#[cfg(feature = "encryption")] #[cfg(feature = "encryption")]
#[cfg_attr(feature = "docs", doc(cfg(encryption)))] #[cfg_attr(feature = "docs", doc(cfg(encryption)))]