diff --git a/ruma-client-api/Cargo.toml b/ruma-client-api/Cargo.toml index d81a264b..66ea9070 100644 --- a/ruma-client-api/Cargo.toml +++ b/ruma-client-api/Cargo.toml @@ -37,6 +37,5 @@ matches = "0.1.8" compat = [] unstable-exhaustive-types = [] unstable-pre-spec = [] -unstable-synapse-quirks = [] client = [] server = [] diff --git a/ruma-client-api/src/r0/profile/get_avatar_url.rs b/ruma-client-api/src/r0/profile/get_avatar_url.rs index fc4992b9..eceb77ed 100644 --- a/ruma-client-api/src/r0/profile/get_avatar_url.rs +++ b/ruma-client-api/src/r0/profile/get_avatar_url.rs @@ -10,10 +10,7 @@ ruma_api! { name: "get_avatar_url", path: "/_matrix/client/r0/profile/:user_id/avatar_url", rate_limited: false, - #[cfg(not(feature = "unstable-synapse-quirks"))] authentication: None, - #[cfg(feature = "unstable-synapse-quirks")] - authentication: AccessToken, } request: { diff --git a/ruma-client-api/src/r0/profile/get_display_name.rs b/ruma-client-api/src/r0/profile/get_display_name.rs index ecd471c6..a1e517a9 100644 --- a/ruma-client-api/src/r0/profile/get_display_name.rs +++ b/ruma-client-api/src/r0/profile/get_display_name.rs @@ -10,10 +10,7 @@ ruma_api! { name: "get_display_name", path: "/_matrix/client/r0/profile/:user_id/displayname", rate_limited: false, - #[cfg(not(feature = "unstable-synapse-quirks"))] authentication: None, - #[cfg(feature = "unstable-synapse-quirks")] - authentication: AccessToken, } request: { diff --git a/ruma-client-api/src/r0/profile/get_profile.rs b/ruma-client-api/src/r0/profile/get_profile.rs index 5b898f11..94a500a9 100644 --- a/ruma-client-api/src/r0/profile/get_profile.rs +++ b/ruma-client-api/src/r0/profile/get_profile.rs @@ -10,10 +10,7 @@ ruma_api! { name: "get_profile", path: "/_matrix/client/r0/profile/:user_id", rate_limited: false, - #[cfg(not(feature = "unstable-synapse-quirks"))] authentication: None, - #[cfg(feature = "unstable-synapse-quirks")] - authentication: AccessToken, } request: { diff --git a/ruma/Cargo.toml b/ruma/Cargo.toml index 5519fe11..de4e4cac 100644 --- a/ruma/Cargo.toml +++ b/ruma/Cargo.toml @@ -116,6 +116,3 @@ unstable-pre-spec = [ #"ruma-identity-service-api/unstable-pre-spec", #"ruma-push-gateway-api/unstable-pre-spec", ] -unstable-synapse-quirks = [ - "ruma-client-api/unstable-synapse-quirks", -] diff --git a/ruma/src/lib.rs b/ruma/src/lib.rs index ca254ae7..523cb489 100644 --- a/ruma/src/lib.rs +++ b/ruma/src/lib.rs @@ -46,8 +46,6 @@ //! breaking changes when new fields are added in the specification. This feature compiles all //! types as exhaustive. //! * `unstable-pre-spec` -- Upcoming Matrix features that may be subject to change or removal. -//! * `unstable-synapse-quirks` -- Fix issues for clients expecting to connect to Synapse -//! homeservers, at the expense of being less compatible with other homeservers. //! //! # Common features //!