mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 05:39:52 -07:00
Gracefully handle verification events that are unknown locally (#90)
This commit is contained in:
parent
5df9fe7960
commit
cc1d2f3bf8
1 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue