aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-02-19 21:44:50 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-02-19 21:50:19 +0100
commita47d4be15d93b99c0dd621a9b3a916be14a4cc39 (patch)
treec6ac76c59908d340977ba2d8b0c45dc7a804ba48 /lisp/mastodon-tl.el
parent1485cc793881fb71245886c346e6d1883c068c26 (diff)
more cases to use buffer-type-eq
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 96b8311..2a20e73 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1733,7 +1733,7 @@ Note that you can only (un)mute threads you have posted in."
"Mute a thread.
If UNMUTE, unmute it."
(let ((endpoint (mastodon-tl--get-endpoint)))
- (if (string-suffix-p "context" endpoint) ; thread view
+ (if (mastodon-tl--buffer-type-eq 'thread)
(let* ((id
(save-match-data
(string-match "statuses/\\(?2:[[:digit:]]+\\)/context"