mirror of
https://github.com/element-hq/element-android
synced 2024-12-19 15:58:27 +03:00
rust: Remove an unused method
This commit is contained in:
parent
504e1e31bd
commit
930e6f4e9b
2 changed files with 1 additions and 10 deletions
|
@ -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 a new issue