forked from mirrors/bookwyrm
Fixes bug that shows your own posts in every user page
This commit is contained in:
parent
11212401a0
commit
3d6f113543
1 changed files with 2 additions and 2 deletions
|
@ -467,9 +467,9 @@ def user_page(request, username):
|
|||
|
||||
# user's posts
|
||||
activities = get_activity_feed(
|
||||
user,
|
||||
request.user,
|
||||
['public', 'unlisted', 'followers'],
|
||||
queryset=models.Status.objects.filter(user=request.user)
|
||||
queryset=models.Status.objects.filter(user=user)
|
||||
)
|
||||
paginated = Paginator(activities, PAGE_LENGTH)
|
||||
activity_page = paginated.page(page)
|
||||
|
|
Loading…
Reference in a new issue