Commit cc1d2f3bf8

cc1d2f3bf8b74725579412ab9183a56eb7786028

parent: 5df9fe7960

Unregistered key

Ulyssa <git@ulyssa.dev> · 2023-05-02 04:33 UTC

Gracefully handle verification events that are unknown locally (#90)

Layout: unified · split

src/worker.rs +4 −3
@@ -845,10 +845,11 @@ impl ClientWorker {
845845 let request = client
846846 .encryption()
847847 .get_verification_request(&ev.sender, &ev.content.transaction_id)
848 .await
849 .unwrap();
848 .await;
850849
851 request.accept().await.unwrap();
850 if let Some(request) = request {
851 request.accept().await.unwrap();
852 }
852853 }
853854 },
854855 );