From bdf8f50edb3e44401657f8851b3ecef0ce3f0f1c Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 20 Aug 2022 16:05:09 +0200 Subject: tl--insert-status: fetch base-toot-id from parent-toot if present --- lisp/mastodon-tl.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index aab0509..de08971 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -898,7 +898,9 @@ PARENT-TOOT is the JSON of the toot responded to." (mastodon-tl--byline toot author-byline action-byline)) 'toot-id (or id ; for notifications (alist-get 'id toot)) - 'base-toot-id (mastodon-tl--toot-id toot) + 'base-toot-id (mastodon-tl--toot-id + ;; if a favourite/boost notif, get ID of toot responded to: + (or parent-toot toot)) 'toot-json toot 'parent-toot parent-toot) "\n") -- cgit v1.2.3