diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-02-19 21:44:50 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-02-19 21:50:19 +0100 |
commit | a47d4be15d93b99c0dd621a9b3a916be14a4cc39 (patch) | |
tree | c6ac76c59908d340977ba2d8b0c45dc7a804ba48 /lisp/mastodon-tl.el | |
parent | 1485cc793881fb71245886c346e6d1883c068c26 (diff) |
more cases to use buffer-type-eq
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 2 |
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" |