diff options
author | marty hiatt <martianhiatus@disroot.org> | 2024-10-30 20:59:57 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus@disroot.org> | 2024-10-30 20:59:57 +0100 |
commit | 5cb2bf1c0409acb2a88f5ad45135fadb6d84db7a (patch) | |
tree | 0944ffdd0357582dafe7f734e9464ec9b67255bc /lisp/mastodon-tl.el | |
parent | 089eee64854ad6d8a880b0949fba7e2c1fb04cc6 (diff) |
FIX #610 fix note/base toot in format-note/author byline.
non-grouped notif pagination was broken because we were propertizing
item-json and base-toot wrong. now we always hand insert-note the note
data as toot, and the status notified about as base-toot.
then we adjust our handling of this in tl--byline-author to display base
item byline correctly.
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 6f510b3..7e37b00 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -860,7 +860,10 @@ TS is a timestamp from the server, if any." ;; NB: action-byline (boost) is now added in insert-status, so no ;; longer part of the byline. ;; (base) author byline: - (mastodon-tl--byline-author toot nil domain :base) + ;; we use base-toot if poss for fave/boost notifs that need to show + ;; base item in author byline + (mastodon-tl--byline-author (or base-toot toot) + nil domain :base) ;; visibility: (cond ((string= visibility "direct") (propertize (concat " " (mastodon-tl--symbol 'direct)) |