Fix zero since-token value not used as initial sync condition.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
8c8985e8f2
commit
29ac62ec27
1 changed files with 1 additions and 1 deletions
|
|
@ -665,7 +665,7 @@ async fn load_joined_room(
|
|||
.boxed()
|
||||
.await?;
|
||||
|
||||
let initial = since_shortstatehash.is_none();
|
||||
let initial = since_shortstatehash.is_none() || since == 0;
|
||||
let lazy_loading_enabled = filter.room.state.lazy_load_options.is_enabled()
|
||||
|| filter
|
||||
.room
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue