matrix-sdk-base: Remove the unused enum RoomStateType
parent
93e5c34670
commit
780348f546
|
@ -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
|
||||||
|
|
|
@ -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)))]
|
||||||
|
|
Loading…
Reference in New Issue