aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
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"