default to main event for batch tokens
fix prev_batch token for legacy sync timeline Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
c519a40cb8
commit
97ad9afc86
3 changed files with 3 additions and 4 deletions
|
@ -945,7 +945,6 @@ async fn load_joined_room(
|
|||
let prev_batch = timeline_pdus
|
||||
.first()
|
||||
.map(at!(0))
|
||||
.map(|count| count.saturating_sub(1))
|
||||
.as_ref()
|
||||
.map(ToString::to_string);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue