Fix usage of homeserver_connection_from_config

This commit is contained in:
Quentin Gliech
2025-08-05 11:54:28 +02:00
parent 884c66891a
commit 453e1dbef5
+2 -1
View File
@@ -325,7 +325,8 @@ impl Options {
let matrix_config =
MatrixConfig::extract(figment).map_err(anyhow::Error::from_boxed)?;
let http_client = mas_http::reqwest_client();
let homeserver = homeserver_connection_from_config(&matrix_config, http_client);
let homeserver =
homeserver_connection_from_config(&matrix_config, http_client).await?;
let mut conn = database_connection_from_config(&database_config).await?;
let txn = conn.begin().await?;
let mut repo = PgRepository::from_conn(txn);