aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-06-01 10:39:50 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-06-01 10:57:25 +0200
commit13162773b6fcff121bf3449075201a49547f68c4 (patch)
treea37cdb14f325cfb6962cb6c6652bdf5a58e18d41 /lisp/mastodon-tl.el
parent073ef686839944abc16f85883be8db84c95592ae (diff)
max-id arg/params for (so far only plain) profile view
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 7ffa96d..fe8f9f1 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2565,9 +2565,12 @@ Aims to respect any pagination in effect."
((eq type 'notifications)
(mastodon-notifications-get nil nil :force :max-id))
((eq type 'profile-statuses-no-boosts)
+ ;; TODO: max-id arg needed here also
(mastodon-profile--open-statuses-no-reblogs))
((eq type 'profile-statuses)
- (mastodon-profile--my-profile))
+ (save-excursion
+ (goto-char (point-min))
+ (mastodon-profile--get-toot-author :max-id)))
((eq type 'thread)
(save-match-data
(let ((endpoint (mastodon-tl--endpoint)))