Do not hide read posts when it is a user profile view (#3791)

pull/3799/head^2
RocketDerp 10 months ago committed by GitHub
parent 58388f2ce8
commit b4380cb548
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -308,7 +308,10 @@ fn queries<'a>() -> Queries<
.map(|l| l.local_user.show_read_posts)
.unwrap_or(true)
{
query = query.filter(post_read::post_id.is_null());
// Do not hide read posts when it is a user profile view
if !is_profile_view {
query = query.filter(post_read::post_id.is_null());
}
}
if options.local_user.is_some() {

Loading…
Cancel
Save