diff options
author | marty hiatt <martianhiatus@riseup.net> | 2024-10-17 14:12:01 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2024-10-17 14:12:01 +0200 |
commit | 95875366372b6acf571254cc70f58caa80dda19b (patch) | |
tree | 9d4cb545f448877819d3c3ac342dff4a14ee724d | |
parent | 5c1a8d5a3b0a6a772f712e6ad21f0889a4081325 (diff) |
notifs: no stats for foll-reqs / tl--byline: get type from group
-rw-r--r-- | lisp/mastodon-tl.el | 4 |
1 files changed, 3 insertions, 1 deletions
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 |