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

master
Damir Jelić 2020-08-12 17:49:08 +02:00
parent c6b0a19171
commit 5883396106
1 changed files with 2 additions and 0 deletions

View File

@ -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,