client: Fix import order
This commit is contained in:
parent
e4bd7939c0
commit
d8b268ed76
@ -1,7 +1,6 @@
|
|||||||
use std::{env, process::exit, time::Duration};
|
use std::{env, process::exit, time::Duration};
|
||||||
|
|
||||||
use assign::assign;
|
use assign::assign;
|
||||||
use tokio_stream::StreamExt as _;
|
|
||||||
use http::Uri;
|
use http::Uri;
|
||||||
use ruma::{
|
use ruma::{
|
||||||
api::client::r0::{filter::FilterDefinition, sync::sync_events},
|
api::client::r0::{filter::FilterDefinition, sync::sync_events},
|
||||||
@ -12,6 +11,7 @@ use ruma::{
|
|||||||
presence::PresenceState,
|
presence::PresenceState,
|
||||||
};
|
};
|
||||||
use ruma_client::{self, Client};
|
use ruma_client::{self, Client};
|
||||||
|
use tokio_stream::StreamExt as _;
|
||||||
|
|
||||||
async fn log_messages(homeserver_url: Uri, username: &str, password: &str) -> anyhow::Result<()> {
|
async fn log_messages(homeserver_url: Uri, username: &str, password: &str) -> anyhow::Result<()> {
|
||||||
let client = Client::new(homeserver_url, None);
|
let client = Client::new(homeserver_url, None);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user