aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-01-16 08:34:53 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-01-16 08:34:53 +0100
commit3080367aff71487cab83cabf52c62d22e0a42167 (patch)
treed00a43502ea7ac8689f7786f65bc5e3f08b2455e /lisp
parent78eb53aacb42480a2b387b76ca90946b114985d3 (diff)
add single-status check to get-buffer-type
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index e01d3a7..9234b77 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1437,6 +1437,8 @@ Should work in all mastodon buffers."
;; threads:
((string-suffix-p "context" endpoint-fun)
'thread)
+ ((string-prefix-p "statuses" endpoint-fun)
+ 'single-status)
;; profiles:
((string-prefix-p "accounts" endpoint-fun)
(cond