add: option to hide posts answering questions from "All" timeline
This commit is contained in:
parent
5961999ce4
commit
612fbf5eb4
6 changed files with 36 additions and 5 deletions
|
@ -636,7 +636,9 @@ pub async fn swiss_army_timeline_request(
|
|||
} else {
|
||||
// everything else
|
||||
match req.tl {
|
||||
DefaultTimelineChoice::AllPosts => data.0.get_latest_posts(12, req.page).await,
|
||||
DefaultTimelineChoice::AllPosts => {
|
||||
data.0.get_latest_posts(12, req.page, &user).await
|
||||
}
|
||||
DefaultTimelineChoice::PopularPosts => {
|
||||
data.0.get_popular_posts(12, req.page, 604_800_000).await
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue