Skip to content

Commit dab2063

Browse files
committed
fix(sliding-sync): new limit should default to None in builder
1 parent 273d0a0 commit dab2063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/matrix-sdk/src/sliding_sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ pub struct SlidingSyncView {
883883
batch_size: u32,
884884

885885
/// How many rooms request at a time when doing a full-sync catch up
886-
#[builder(setter(into))]
886+
#[builder(setter(into), default)]
887887
limit: Option<u32>,
888888

889889
/// Any filters to apply to the query

0 commit comments

Comments
 (0)