rust: Remove an unused method
This commit is contained in:
parent
504e1e31bd
commit
930e6f4e9b
|
@ -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};
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue