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.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 81c2d4b..de64e1b 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -812,8 +812,7 @@ webapp"
"Copy URL of toot at point."
(interactive)
(let* ((toot (mastodon-tl--property 'toot-json))
- (boosted (mastodon-tl--field 'reblog toot))
- (url (if boosted
+ (url (if (mastodon-tl--field 'reblog toot)
(cdr (assoc 'url (cdr (assoc 'reblog toot))))
(cdr (assoc 'url toot)))))
(kill-new url)