add: show nsfw posts to their author
nsfw posts are also always shown if the profile is private
This commit is contained in:
parent
0b3573a513
commit
a62905a8c4
2 changed files with 26 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue