aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-21 16:04:45 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-21 16:04:45 +0100
commite80ebfec55a0c284d0eef7248abcca91d0d4d4e5 (patch)
tree1fe28dcce7c7de6d799797a9a556b4cae87416c2 /lisp/mastodon-profile.el
parent21caf882946086ecf61e6ad9c911abbc35d2ad72 (diff)
fix acccount-view-cycle and tl--get-buffer-type to handle profile views sans boosts
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 9030d97..6c9a850 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -142,15 +142,15 @@ NO-REBLOGS means do not display boosts in statuses."
;; TODO: we shd just load all views' data then switch coz this is slow af:
(defun mastodon-profile--account-view-cycle ()
- "Cycle through profile view: toots, followers, and following."
+ "Cycle through profile view: toots, toot sans boosts, followers, and following."
(interactive)
(cond ((mastodon-tl--buffer-type-eq 'profile-statuses)
+ (mastodon-profile--open-statuses-no-reblogs))
+ ((mastodon-tl--buffer-type-eq 'profile-statuses-no-boosts)
(mastodon-profile--open-followers))
((mastodon-tl--buffer-type-eq 'profile-followers)
(mastodon-profile--open-following))
((mastodon-tl--buffer-type-eq 'profile-following)
- (mastodon-profile--open-statuses-no-reblogs))
- (t
(mastodon-profile--make-author-buffer mastodon-profile--account))))
(defun mastodon-profile--open-statuses-no-reblogs ()