mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
partially revert e507c31306
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
61174dd0d3
commit
3962333043
8 files changed
+13
-18
No files matched your search
@@ -138,10 +138,7 @@ pub(crate) async fn get_message_events_route(
|
||||
|
||||
let start_token = events.first().map(at!(0)).unwrap_or(from);
|
||||
|
||||
let next_token = events
|
||||
.last()
|
||||
.map(at!(0))
|
||||
.map(|count| count.saturating_inc(body.dir));
|
||||
let next_token = events.last().map(at!(0));
|
||||
|
||||
if !cfg!(feature = "element_hacks") {
|
||||
if let Some(next_token) = next_token {
|
||||
|
||||
Reference in new issue
Block a user