commit b4994e90a818033a89220f8087849906d5d5b808
parent f4b7df2f42db725c061049298c494c50e348ecb0
Author: Marcel <mtrnord1@gmail.com>
Date: Sat, 30 May 2020 22:56:49 +0200
Always exit out of the loading screen
Took 3 minutes
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/app/matrix/sync.rs b/src/app/matrix/sync.rs
@@ -22,11 +22,10 @@ impl Sync {
let client = self.matrix_client.clone();
let resp = client.clone().sync(SyncSettings::default()).await;
match resp {
- Ok(_) => {
+ _ => {
let resp = Response::FinishedFirstSync;
self.callback.emit(resp);
}
- _ => {}
}
let settings = match client.clone().sync_token().await {
None => {