diff options
author | syn <isaqtm@gmail.com> | 2021-01-27 00:17:53 +0300 |
---|---|---|
committer | syn <isaqtm@gmail.com> | 2021-01-27 00:17:53 +0300 |
commit | 0b05c0362d398db12af27ebff78b3a97f5b9e8da (patch) | |
tree | a4e6f2dba7fe7cf6422543c2f102d371a55d7bd5 /src/main.rs | |
parent | 43c49b38f66805449ec8c8557e23e5cf6deca8c9 (diff) | |
download | airception-master.tar.gz |
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 749578d..e700ed6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,8 +3,7 @@ use redis::IntoConnectionInfo; mod airdata; mod auth; mod error; -mod client_ext; -use client_ext::ClientExt; +use tdlib_autogen::ClientExt; //mod handlers; //mod lossy; mod router; @@ -39,7 +38,7 @@ async fn async_main() -> error::AirceptionResult<()> { loop { let auth_state = tg.get_authorization_state().await; match auth_state { - Ok(client_ext::AuthorizationState::AuthorizationStateReady) => break, + Ok(tdlib_autogen::AuthorizationState::AuthorizationStateReady) => break, _ => {} }; log::info!("{:#?}", auth_state); |