Gracefully handle verification events that are unknown locally (#90)
This commit is contained in:
@@ -845,10 +845,11 @@ impl ClientWorker {
|
||||
let request = client
|
||||
.encryption()
|
||||
.get_verification_request(&ev.sender, &ev.content.transaction_id)
|
||||
.await
|
||||
.unwrap();
|
||||
.await;
|
||||
|
||||
request.accept().await.unwrap();
|
||||
if let Some(request) = request {
|
||||
request.accept().await.unwrap();
|
||||
}
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user