aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-27 13:23:43 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-27 13:23:43 +0100
commitf1c5b02512287a07899f793d667ce6924cbe88e8 (patch)
treeb540611cacac19413bec7de5fb9d5b767cffa5b2
parent71152484c86abad4da8e699ed095de8319aa5cad (diff)
remove redundant str var
-rw-r--r--lisp/mastodon-tl.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 2503516..ff00252 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1533,9 +1533,9 @@ If UNMUTE, unmute it."
(if (string-suffix-p "context" endpoint) ; thread view
(let* ((id
(save-match-data
- (let ((str (string-match "statuses/\\(?2:[[:digit:]]+\\)/context"
- endpoint)))
- (match-string 2 endpoint))))
+ (string-match "statuses/\\(?2:[[:digit:]]+\\)/context"
+ endpoint)
+ (match-string 2 endpoint)))
(we-posted-p (mastodon-tl--user-in-thread-p id))
(url (mastodon-http--api
(if unmute