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.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index cc2f1b8..d877930 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1138,7 +1138,12 @@ webapp"
(mastodon-tl--property 'base-toot-id)))
(url (mastodon-http--api (format "statuses/%s/context" id)))
(buffer (format "*mastodon-thread-%s*" id))
- (toot (mastodon-tl--property 'toot-json))
+ (toot
+ ;; refetch current toot in case we just faved/boosted:
+ (mastodon-http--get-json (concat
+ mastodon-instance-url
+ "/api/v1/statuses/"
+ id)))
(context (mastodon-http--get-json url)))
(when (member (alist-get 'type toot) '("reblog" "favourite"))
(setq toot (alist-get 'status toot)))