From ba05dd5b8ce2d4a59fa425c33de9e2073fd76aa5 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Mon, 13 Dec 2021 20:45:51 +0100 Subject: [PATCH] feat(RequestConfig): expose force_auth setting Signed-off-by: Marc 'risson' Schmitt --- crates/matrix-sdk/src/config/request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk/src/config/request.rs b/crates/matrix-sdk/src/config/request.rs index 690329537..1e0fee272 100644 --- a/crates/matrix-sdk/src/config/request.rs +++ b/crates/matrix-sdk/src/config/request.rs @@ -104,7 +104,7 @@ impl RequestConfig { /// Force sending authorization even if the endpoint does not require it. /// Default is only sending authorization if it is required. - pub(crate) fn force_auth(mut self) -> Self { + pub fn force_auth(mut self) -> Self { self.force_auth = true; self }