From de0b3e1cf3906fd6e3655d2d3414a9ec1a5e48a1 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 1 Feb 2022 21:27:47 +0100 Subject: [PATCH] events: Move RoomMemberEventContent reason field out of unstable-pre-spec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … stable since v1.1. --- crates/ruma-events/src/room/member.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/ruma-events/src/room/member.rs b/crates/ruma-events/src/room/member.rs index d9f4c55c..59af2f0a 100644 --- a/crates/ruma-events/src/room/member.rs +++ b/crates/ruma-events/src/room/member.rs @@ -94,7 +94,6 @@ pub struct RoomMemberEventContent { /// Clients are not recommended to show this reason to users when receiving an invite due to /// the potential for spam and abuse. Hiding the reason behind a button or other component /// is recommended. - #[cfg(feature = "unstable-pre-spec")] #[serde(skip_serializing_if = "Option::is_none")] pub reason: Option, @@ -116,7 +115,6 @@ impl RoomMemberEventContent { third_party_invite: None, #[cfg(feature = "unstable-pre-spec")] blurhash: None, - #[cfg(feature = "unstable-pre-spec")] reason: None, #[cfg(feature = "unstable-pre-spec")] join_authorized_via_users_server: None, @@ -354,7 +352,6 @@ fn membership_change( third_party_invite: None, #[cfg(feature = "unstable-pre-spec")] blurhash: None, - #[cfg(feature = "unstable-pre-spec")] reason: None, #[cfg(feature = "unstable-pre-spec")] join_authorized_via_users_server: None,