From c7caf65f65c0fff52bf0e0d72d71b37b8fc9e935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sat, 1 Oct 2022 11:57:32 +0200 Subject: [PATCH] events: Remove ToDevice kind on RoomEncryptedEventContent There is ToDeviceRoomEncryptedEventContent. --- crates/ruma-common/src/events/room/encrypted.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]