From 95875366372b6acf571254cc70f58caa80dda19b Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Thu, 17 Oct 2024 14:12:01 +0200 Subject: notifs: no stats for foll-reqs / tl--byline: get type from group --- 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 c5ada75..7d41971 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -806,7 +806,9 @@ BASE-TOOT is JSON for the base toot, if any." (boosted (eq t (mastodon-tl--field 'reblogged toot))) (bookmarked (eq t (mastodon-tl--field 'bookmarked toot))) (visibility (mastodon-tl--field 'visibility toot)) - (type (alist-get 'type toot)) + (type (if group + (alist-get 'type group) + (alist-get 'type toot))) (base-toot-maybe (or base-toot ;; show edits for notifs (mastodon-tl--toot-or-base toot))) ;; for boosts (account (or account -- cgit v1.2.3