diff --git a/src/crypto/machine.rs b/src/crypto/machine.rs index cabcd843..847c7387 100644 --- a/src/crypto/machine.rs +++ b/src/crypto/machine.rs @@ -31,7 +31,7 @@ use ruma_client_api::r0::keys::{ }; use ruma_client_api::r0::sync::sync_events::IncomingResponse as SyncResponse; use ruma_events::{ - to_device::{ToDevice as ToDeviceEvent, ToDeviceEncrypted, ToDeviceRoomKeyRequest}, + to_device::{AnyToDeviceEvent as ToDeviceEvent, ToDeviceEncrypted, ToDeviceRoomKeyRequest}, Algorithm, EventResult, }; use ruma_identifiers::{DeviceId, UserId};