events: Remove ToDevice kind on RoomEncryptedEventContent
There is ToDeviceRoomEncryptedEventContent.
This commit is contained in:
parent
c141b7deb5
commit
c7caf65f65
@ -16,7 +16,7 @@ mod relation_serde;
|
|||||||
/// The content of an `m.room.encrypted` event.
|
/// The content of an `m.room.encrypted` event.
|
||||||
#[derive(Clone, Debug, Deserialize, Serialize, EventContent)]
|
#[derive(Clone, Debug, Deserialize, Serialize, EventContent)]
|
||||||
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
|
#[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 {
|
pub struct RoomEncryptedEventContent {
|
||||||
/// Algorithm-specific fields.
|
/// Algorithm-specific fields.
|
||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user