diff --git a/matrix_sdk_base/src/client.rs b/matrix_sdk_base/src/client.rs index cb27ba24..190d1274 100644 --- a/matrix_sdk_base/src/client.rs +++ b/matrix_sdk_base/src/client.rs @@ -1948,6 +1948,8 @@ impl BaseClient { /// } /// # }); /// ``` + #[cfg(feature = "encryption")] + #[cfg_attr(docsrs, doc(cfg(feature = "encryption")))] pub async fn get_user_devices( &self, user_id: &UserId,