client-api: Update include_leave in RoomFilter from Option<bool> to bool
This commit is contained in:
parent
56d2623b7d
commit
a012ad3532
@ -100,9 +100,9 @@ impl<'a> RoomEventFilter<'a> {
|
||||
pub struct RoomFilter<'a> {
|
||||
/// Include rooms that the user has left in the sync.
|
||||
///
|
||||
/// Defaults to false if not included.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub include_leave: Option<bool>,
|
||||
/// Defaults to `false`.
|
||||
#[serde(default, skip_serializing_if = "ruma_serde::is_default")]
|
||||
pub include_leave: bool,
|
||||
|
||||
/// The per user account data to include for rooms.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user