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

This commit is contained in:
Damir Jelić 2020-08-12 19:18:30 +02:00
parent 5883396106
commit bf42e1a39f

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,