diff --git a/rust-sdk/src/lib.rs b/rust-sdk/src/lib.rs index 01f7e1c3c7..a45c788d26 100644 --- a/rust-sdk/src/lib.rs +++ b/rust-sdk/src/lib.rs @@ -2,7 +2,7 @@ mod error; mod logger; mod machine; -pub use error::*; +pub use error::{CryptoStoreError, MachineCreationError}; pub use logger::{set_logger, Logger}; pub use machine::{Device, DeviceLists, OlmMachine, Request, RequestType, Sas}; diff --git a/rust-sdk/src/machine.rs b/rust-sdk/src/machine.rs index 4894fd7074..7f96f61ae6 100644 --- a/rust-sdk/src/machine.rs +++ b/rust-sdk/src/machine.rs @@ -246,15 +246,6 @@ impl OlmMachine { .collect() } - pub fn slow_user_id(&self) -> String { - let machine = self.inner.clone(); - - self.runtime.block_on(async { - sleep(Duration::from_secs(10)).await; - machine.user_id().to_string() - }) - } - pub fn mark_request_as_sent( &self, request_id: &str,