mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
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:
1 parent
c519a40cb8
commit
97ad9afc86
3 files changed
+3
-4
No files matched your search
@@ -169,12 +169,14 @@ pub(crate) async fn get_context_route(
|
||||
start: events_before
|
||||
.last()
|
||||
.map(at!(0))
|
||||
.or(Some(base_token))
|
||||
.as_ref()
|
||||
.map(ToString::to_string),
|
||||
|
||||
end: events_after
|
||||
.last()
|
||||
.map(at!(0))
|
||||
.or(Some(base_token))
|
||||
.as_ref()
|
||||
.map(ToString::to_string),
|
||||
|
||||
|
||||
Reference in new issue
Block a user