diff options
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index cc2f1b8..4309c35 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1138,7 +1138,13 @@ 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))) + (mastodon-tl--property 'toot-json)) (context (mastodon-http--get-json url))) (when (member (alist-get 'type toot) '("reblog" "favourite")) (setq toot (alist-get 'status toot))) |