client-api: Work around another Element bug
This commit is contained in:
parent
565793a37e
commit
4e68509faf
@ -9,6 +9,8 @@ Improvements:
|
|||||||
```
|
```
|
||||||
* Add unstable support for room knocking
|
* Add unstable support for room knocking
|
||||||
* Add unstable support for reasons for leaving rooms
|
* Add unstable support for reasons for leaving rooms
|
||||||
|
* Add a `feature = "compat"` workaround for Element failing on `GET /_matrix/client/r0/account/3pid`
|
||||||
|
response if the optional `threepids` field is missing
|
||||||
|
|
||||||
# 0.11.0
|
# 0.11.0
|
||||||
|
|
||||||
|
@ -17,9 +17,9 @@ ruma_api! {
|
|||||||
request: {}
|
request: {}
|
||||||
|
|
||||||
response: {
|
response: {
|
||||||
/// A list of third party identifiers the homeserver has associated with the user's
|
/// A list of third party identifiers the homeserver has associated with the user's account.
|
||||||
/// account.
|
#[serde(default)]
|
||||||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
#[cfg_attr(feature = "compat", serde(skip_serializing_if = "Vec::is_empty"))]
|
||||||
pub threepids: Vec<ThirdPartyIdentifier>,
|
pub threepids: Vec<ThirdPartyIdentifier>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user