diff --git a/crates/ruma-common/src/events/room/redaction.rs b/crates/ruma-common/src/events/room/redaction.rs index 191f1141..17772d2c 100644 --- a/crates/ruma-common/src/events/room/redaction.rs +++ b/crates/ruma-common/src/events/room/redaction.rs @@ -75,8 +75,6 @@ impl Redact for OriginalRoomRedactionEvent { ) -> Self::Redacted { RedactedRoomRedactionEvent { content: self.content.redact(version), - // There is no released room version where this isn't redacted yet - redacts: None, event_id: self.event_id, sender: self.sender, origin_server_ts: self.origin_server_ts, @@ -93,9 +91,6 @@ pub struct RedactedRoomRedactionEvent { /// Data specific to the event type. pub content: RedactedRoomRedactionEventContent, - /// The ID of the event that was redacted. - pub redacts: Option>, - /// The globally unique event identifier for the user who sent the event. pub event_id: Box, @@ -145,8 +140,6 @@ impl Redact for OriginalSyncRoomRedactionEvent { ) -> Self::Redacted { RedactedSyncRoomRedactionEvent { content: self.content.redact(version), - // There is no released room version where this isn't redacted yet - redacts: None, event_id: self.event_id, sender: self.sender, origin_server_ts: self.origin_server_ts, @@ -162,9 +155,6 @@ pub struct RedactedSyncRoomRedactionEvent { /// Data specific to the event type. pub content: RedactedRoomRedactionEventContent, - /// The ID of the event that was redacted. - pub redacts: Option>, - /// The globally unique event identifier for the user who sent the event. pub event_id: Box,