diff --git a/matrix_sdk_base/src/client.rs b/matrix_sdk_base/src/client.rs index b7b4be8f..4de856e1 100644 --- a/matrix_sdk_base/src/client.rs +++ b/matrix_sdk_base/src/client.rs @@ -153,17 +153,6 @@ fn hoist_room_event_prev_content( 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. /// /// This Client is a state machine that receives responses and events and diff --git a/matrix_sdk_base/src/lib.rs b/matrix_sdk_base/src/lib.rs index 197e007f..d083fd3c 100644 --- a/matrix_sdk_base/src/lib.rs +++ b/matrix_sdk_base/src/lib.rs @@ -58,7 +58,7 @@ pub use rooms::{ }; pub use store::{StateChanges, StateStore, Store, StoreError}; -pub use client::{BaseClient, BaseClientConfig, RoomStateType}; +pub use client::{BaseClient, BaseClientConfig}; #[cfg(feature = "encryption")] #[cfg_attr(feature = "docs", doc(cfg(encryption)))]