rust: Remove an unused method

This commit is contained in:
Damir Jelić 2021-02-16 13:10:10 +01:00
parent 504e1e31bd
commit 930e6f4e9b
2 changed files with 1 additions and 10 deletions

View File

@ -2,7 +2,7 @@ mod error;
mod logger; mod logger;
mod machine; mod machine;
pub use error::*; pub use error::{CryptoStoreError, MachineCreationError};
pub use logger::{set_logger, Logger}; pub use logger::{set_logger, Logger};
pub use machine::{Device, DeviceLists, OlmMachine, Request, RequestType, Sas}; pub use machine::{Device, DeviceLists, OlmMachine, Request, RequestType, Sas};

View File

@ -246,15 +246,6 @@ impl OlmMachine {
.collect() .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( pub fn mark_request_as_sent(
&self, &self,
request_id: &str, request_id: &str,