Skip to content

Commit

Permalink
ffi: Expose with_encryption_settings via FFI
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalaam committed Apr 11, 2024
1 parent 7c68096 commit 875a1cf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bindings/matrix-sdk-ffi/src/client_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,7 @@ impl ClientBuilder {
}

impl ClientBuilder {
pub(crate) fn with_encryption_settings(
self: Arc<Self>,
settings: EncryptionSettings,
) -> Arc<Self> {
pub fn with_encryption_settings(self: Arc<Self>, settings: EncryptionSettings) -> Arc<Self> {
let mut builder = unwrap_or_clone_arc(self);
builder.inner = builder.inner.with_encryption_settings(settings);
Arc::new(builder)
Expand Down

0 comments on commit 875a1cf

Please sign in to comment.