diff --git a/crates/ruma-common/src/events/room/encrypted.rs b/crates/ruma-common/src/events/room/encrypted.rs index 3fc136bf..5f6f5e2e 100644 --- a/crates/ruma-common/src/events/room/encrypted.rs +++ b/crates/ruma-common/src/events/room/encrypted.rs @@ -16,7 +16,7 @@ mod relation_serde; /// The content of an `m.room.encrypted` event. #[derive(Clone, Debug, Deserialize, Serialize, EventContent)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] -#[ruma_event(type = "m.room.encrypted", kind = MessageLike, kind = ToDevice)] +#[ruma_event(type = "m.room.encrypted", kind = MessageLike)] pub struct RoomEncryptedEventContent { /// Algorithm-specific fields. #[serde(flatten)]