Skip to content

Commit

Permalink
fixup! feat(ffi): add support for receiving and working with session …
Browse files Browse the repository at this point in the history
…verification requests
  • Loading branch information
stefanceriu committed Oct 24, 2024
1 parent 5ced7b7 commit ef8d3f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindings/matrix-sdk-ffi/src/session_verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ impl SessionVerificationController {
let verification_request = self.verification_request.read().unwrap().clone();

if let Some(verification_request) = verification_request {
verification_request.accept().await?;
let methods = vec![VerificationMethod::SasV1];
verification_request.accept_with_methods(methods).await?;
}

Ok(())
Expand Down

0 comments on commit ef8d3f9

Please sign in to comment.