client-api: Remove unstable-synapse-quirks feature
Only worked around `authentication` sometimes being required, which now can be achieved with `SendAccessToken`
This commit is contained in:
parent
0ca5785ead
commit
37462b9ae1
@ -37,6 +37,5 @@ matches = "0.1.8"
|
|||||||
compat = []
|
compat = []
|
||||||
unstable-exhaustive-types = []
|
unstable-exhaustive-types = []
|
||||||
unstable-pre-spec = []
|
unstable-pre-spec = []
|
||||||
unstable-synapse-quirks = []
|
|
||||||
client = []
|
client = []
|
||||||
server = []
|
server = []
|
||||||
|
@ -10,10 +10,7 @@ ruma_api! {
|
|||||||
name: "get_avatar_url",
|
name: "get_avatar_url",
|
||||||
path: "/_matrix/client/r0/profile/:user_id/avatar_url",
|
path: "/_matrix/client/r0/profile/:user_id/avatar_url",
|
||||||
rate_limited: false,
|
rate_limited: false,
|
||||||
#[cfg(not(feature = "unstable-synapse-quirks"))]
|
|
||||||
authentication: None,
|
authentication: None,
|
||||||
#[cfg(feature = "unstable-synapse-quirks")]
|
|
||||||
authentication: AccessToken,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
request: {
|
request: {
|
||||||
|
@ -10,10 +10,7 @@ ruma_api! {
|
|||||||
name: "get_display_name",
|
name: "get_display_name",
|
||||||
path: "/_matrix/client/r0/profile/:user_id/displayname",
|
path: "/_matrix/client/r0/profile/:user_id/displayname",
|
||||||
rate_limited: false,
|
rate_limited: false,
|
||||||
#[cfg(not(feature = "unstable-synapse-quirks"))]
|
|
||||||
authentication: None,
|
authentication: None,
|
||||||
#[cfg(feature = "unstable-synapse-quirks")]
|
|
||||||
authentication: AccessToken,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
request: {
|
request: {
|
||||||
|
@ -10,10 +10,7 @@ ruma_api! {
|
|||||||
name: "get_profile",
|
name: "get_profile",
|
||||||
path: "/_matrix/client/r0/profile/:user_id",
|
path: "/_matrix/client/r0/profile/:user_id",
|
||||||
rate_limited: false,
|
rate_limited: false,
|
||||||
#[cfg(not(feature = "unstable-synapse-quirks"))]
|
|
||||||
authentication: None,
|
authentication: None,
|
||||||
#[cfg(feature = "unstable-synapse-quirks")]
|
|
||||||
authentication: AccessToken,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
request: {
|
request: {
|
||||||
|
@ -116,6 +116,3 @@ unstable-pre-spec = [
|
|||||||
#"ruma-identity-service-api/unstable-pre-spec",
|
#"ruma-identity-service-api/unstable-pre-spec",
|
||||||
#"ruma-push-gateway-api/unstable-pre-spec",
|
#"ruma-push-gateway-api/unstable-pre-spec",
|
||||||
]
|
]
|
||||||
unstable-synapse-quirks = [
|
|
||||||
"ruma-client-api/unstable-synapse-quirks",
|
|
||||||
]
|
|
||||||
|
@ -46,8 +46,6 @@
|
|||||||
//! breaking changes when new fields are added in the specification. This feature compiles all
|
//! breaking changes when new fields are added in the specification. This feature compiles all
|
||||||
//! types as exhaustive.
|
//! types as exhaustive.
|
||||||
//! * `unstable-pre-spec` -- Upcoming Matrix features that may be subject to change or removal.
|
//! * `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
|
//! # Common features
|
||||||
//!
|
//!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user