diff --git a/crates/matrix-sdk/src/account.rs b/crates/matrix-sdk/src/account.rs index e2f79b656..fea4932b6 100644 --- a/crates/matrix-sdk/src/account.rs +++ b/crates/matrix-sdk/src/account.rs @@ -833,7 +833,7 @@ impl Account { /// with the server-default push rules is returned. /// /// Panics if called when the client is not logged in. - pub(crate) async fn push_rules(&self) -> Result { + pub async fn push_rules(&self) -> Result { Ok(self .account_data::() .await? diff --git a/crates/matrix-sdk/src/room/common.rs b/crates/matrix-sdk/src/room/common.rs index 870713164..9d418901a 100644 --- a/crates/matrix-sdk/src/room/common.rs +++ b/crates/matrix-sdk/src/room/common.rs @@ -1020,7 +1020,7 @@ impl Common { /// /// Returns `None` if some data couldn't be found. This should only happen /// in brand new rooms, while we process its state. - pub(crate) async fn push_context(&self) -> Result> { + pub async fn push_context(&self) -> Result> { let room_id = self.room_id(); let user_id = self.own_user_id(); let room_info = self.clone_info();