Update type of canonical_alias in PublicRoomsChunk
This commit is contained in:
parent
07689ecb8b
commit
9643dbc27f
@ -3,6 +3,8 @@
|
|||||||
Breaking changes:
|
Breaking changes:
|
||||||
|
|
||||||
* Make `avatar_url` in `r0::profile::set_avatar_url::Request` an `Option`
|
* Make `avatar_url` in `r0::profile::set_avatar_url::Request` an `Option`
|
||||||
|
* Update type of `canonical_alias` in `r0::directory::PublicRoomsChunk` from
|
||||||
|
`Option<String>` to `Option<RoomAliasId>`
|
||||||
|
|
||||||
# 0.9.0
|
# 0.9.0
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ pub struct PublicRoomsChunk {
|
|||||||
|
|
||||||
/// The canonical alias of the room, if any.
|
/// The canonical alias of the room, if any.
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub canonical_alias: Option<String>,
|
pub canonical_alias: Option<RoomAliasId>,
|
||||||
|
|
||||||
/// The name of the room, if any.
|
/// The name of the room, if any.
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user