Skip to content

Conversation

@demaledetti
Copy link

This merge request adds a new boolean configuration setting called ssl_verify, defaulting to true.

The name is inspired by matrix_sdk::ClientBuilder.disable_ssl_verification but it removes the negation.

Implementation-wise, unfortunately that method is mutually exclusive with setting our own http_client (like we do):

https://docs.rs/matrix-sdk/0.14.0/matrix_sdk/struct.ClientBuilder.html#example-for-using-a-custom-http-client

therefore we reimplement it as per:

https://github.com/matrix-org/matrix-rust-sdk/blob/2f7887d607e440609056a3a8da4dcabd01c0fe91/crates/matrix-sdk/src/http_client/native.rs#L189-L192

Last but not least: thank you for the excellent iamb, I discovered it just a few days ago but it has already become my favourite matrix client!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant