Fix canonical alias type
@@ -58,7 +58,7 @@ pub struct PublicRoomsChunk {
pub aliases: Vec<RoomAliasId>,
/// The canonical alias of the room, if any.
#[serde(skip_serializing_if = "Option::is_none")]
- pub canonical_alias: Option<String>,
+ pub canonical_alias: Option<RoomAliasId>,
/// The name of the room, if any.
#[serde(skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
