aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index d877930..7aef0a1 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1140,10 +1140,8 @@ webapp"
(buffer (format "*mastodon-thread-%s*" id))
(toot
;; refetch current toot in case we just faved/boosted:
- (mastodon-http--get-json (concat
- mastodon-instance-url
- "/api/v1/statuses/"
- id)))
+ (mastodon-http--get-json
+ (mastodon-http--api (concat "statuses/" id))))
(context (mastodon-http--get-json url)))
(when (member (alist-get 'type toot) '("reblog" "favourite"))
(setq toot (alist-get 'status toot)))