Can stop sync thread from UI

This commit is contained in:
2025-11-19 18:41:26 +01:00
parent 564e606ac7
commit 0d8905d842
4 changed files with 152 additions and 7 deletions

View File

@@ -121,7 +121,7 @@ impl MatrixClient {
.map_err(MatrixClientError::ReadDbPassphrase)?;
let client = Client::builder()
.server_name_or_homeserver_url(&AppConfig::get().matrix_homeserver)
.homeserver_url(&AppConfig::get().matrix_homeserver)
// Automatically refresh tokens if needed
.handle_refresh_tokens()
.sqlite_store(&db_path, Some(&passphrase))