base: Hide the user devices method behind the encryption feature.

This commit is contained in:
Damir Jelić 2020-08-12 17:49:08 +02:00
parent c6b0a19171
commit 5883396106

View file

@ -1948,6 +1948,8 @@ impl BaseClient {
/// } /// }
/// # }); /// # });
/// ``` /// ```
#[cfg(feature = "encryption")]
#[cfg_attr(docsrs, doc(cfg(feature = "encryption")))]
pub async fn get_user_devices( pub async fn get_user_devices(
&self, &self,
user_id: &UserId, user_id: &UserId,