mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-10 08:53:00 -04:00
matrix-sdk: Put the send_to_device method behind the encryption feature for now.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user