From a9ea433fdee9df9c04705ca41ad517308b6b444e Mon Sep 17 00:00:00 2001 From: mousebot Date: Sun, 30 May 2021 13:33:43 +0200 Subject: only show pinned statuses for "statuses" profile buffer --- lisp/mastodon-profile.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index e007343..f117f23 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -249,8 +249,8 @@ Returns a list of lists." (setq mastodon-tl--update-point (point)) (mastodon-media--inline-images (point-min) (point)) ;; insert pinned toots first - (if pinned - (mastodon-profile--insert-statuses-pinned pinned)) + (if (and pinned (equal endpoint-type "statuses")) + (mastodon-profile--insert-statuses-pinned pinned)) (funcall update-function json))) (mastodon-tl--goto-next-toot))) -- cgit v1.2.3