client-api: Add missing serde(default)
This commit is contained in:
parent
bbdc0b68e8
commit
4d9781e05f
@ -194,7 +194,7 @@ pub struct SyncRequestListFilters {
|
|||||||
/// unset, all rooms are included. Servers MUST NOT navigate subspaces. It is up to the
|
/// unset, all rooms are included. Servers MUST NOT navigate subspaces. It is up to the
|
||||||
/// client to give a complete list of spaces to navigate. Only rooms directly in these
|
/// client to give a complete list of spaces to navigate. Only rooms directly in these
|
||||||
/// spaces will be returned.
|
/// spaces will be returned.
|
||||||
#[serde(skip_serializing_if = "Vec::is_empty")]
|
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||||
pub spaces: Vec<String>,
|
pub spaces: Vec<String>,
|
||||||
|
|
||||||
/// Whether to return encrypted, non-encrypted rooms or both.
|
/// Whether to return encrypted, non-encrypted rooms or both.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user