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 machine;
pub use error::*;
pub use error::{CryptoStoreError, MachineCreationError};
pub use logger::{set_logger, Logger};
pub use machine::{Device, DeviceLists, OlmMachine, Request, RequestType, Sas};

View file

@ -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,