fix: e2ee verification

This commit is contained in:
Timo Kösters
2021-06-30 20:31:51 +02:00
parent ac0027756e
commit 8c44312485
5 changed files with 12 additions and 8 deletions

View File

@@ -89,7 +89,9 @@ pub async fn sync_events_route(
let we_have_to_wait = rx.borrow().is_none();
if we_have_to_wait {
let _ = rx.changed().await;
if let Err(e) = rx.changed().await {
error!("Error waiting for sync: {}", e);
}
}
let result = match rx