From e86857f2cb9d032c9eeb510d10fbbf91545d6f07 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Mon, 23 Jul 2018 13:35:38 -0400 Subject: [PATCH] Actually use paging args in user timeline --- brutaldon/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brutaldon/views.py b/brutaldon/views.py index 3a9453d..d560317 100644 --- a/brutaldon/views.py +++ b/brutaldon/views.py @@ -287,7 +287,7 @@ def user(request, username, prev=None, next=None): user_dict = mastodon.account_search(username)[0] except IndexError: raise Http404("The user %s could not be found." % username) - data = mastodon.account_statuses(user_dict.id) + data = mastodon.account_statuses(user_dict.id, max_id=prev, since_id=next) relationship = mastodon.account_relationships(user_dict.id)[0] try: prev = data[0]._pagination_prev