From 087a2b9012d9b598eb63b4f57d9cef0f967b70d1 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 22 May 2021 20:24:59 +0200 Subject: [PATCH] events: Fix copy-paste mistake --- crates/ruma-events/src/space/parent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruma-events/src/space/parent.rs b/crates/ruma-events/src/space/parent.rs index d8344193..c0b16446 100644 --- a/crates/ruma-events/src/space/parent.rs +++ b/crates/ruma-events/src/space/parent.rs @@ -16,7 +16,7 @@ pub type ParentEvent = StateEvent; /// The payload for `ParentEvent`. #[derive(Clone, Debug, Deserialize, Serialize, EventContent)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] -#[ruma_event(type = "m.space.child", kind = State)] +#[ruma_event(type = "m.space.parent", kind = State)] pub struct ParentEventContent { /// List of candidate servers that can be used to join the room. #[serde(skip_serializing_if = "Option::is_none")]