add: show nsfw posts to their author

nsfw posts are also always shown if the profile is private
This commit is contained in:
trisua 2025-05-06 16:28:07 -04:00
parent 0b3573a513
commit a62905a8c4
2 changed files with 26 additions and 2 deletions

View file

@ -200,7 +200,7 @@ pub async fn posts_request(
let posts = match data
.0
.get_posts_by_user(other_user.id, 12, props.page)
.get_posts_by_user(other_user.id, 12, props.page, &user)
.await
{
Ok(p) => match data