matrix-sdk: Put the send_to_device method behind the encryption feature for now.

master
Damir Jelić 2020-08-12 19:18:30 +02:00
parent 5883396106
commit bf42e1a39f
1 changed files with 1 additions and 0 deletions

View File

@ -1131,6 +1131,7 @@ impl Client {
.await
}
#[cfg(feature = "encryption")]
async fn send_to_device(&self, request: OwnedToDeviceRequest) -> Result<ToDeviceResponse> {
let request = ToDeviceRequest {
event_type: request.event_type,