aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-05-30 13:33:43 +0200
committermousebot <mousebot@riseup.net>2021-05-30 13:33:43 +0200
commita9ea433fdee9df9c04705ca41ad517308b6b444e (patch)
treecd4c7d2bb99a7c6b1709bde7a470df1fa4d6a029 /lisp
parentd6d114189eaf90f6ae4a0257b92555b257c056f2 (diff)
only show pinned statuses for "statuses" profile buffer
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-profile.el4
1 files changed, 2 insertions, 2 deletions
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)))