mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +00:00
A kind:9802 highlight that mentions users before its author rendered the wrong name and a stray "published by …" caption. - HighlightEvent.author() took the first p tag regardless of role, so a highlight with leading "mention" p tags was attributed to a mention instead of the "author"-marked one. Prefer the NIP-84 author marker, falling back to the first p tag for highlights (including Amethyst's own) that omit the marker. - DisplayEntryForNote used the source note's title/subject/alt as a caption. For a kind-1 note there is no title/subject, so it fell to the NIP-31 alt tag — which clients like Jumble fill with a generic "This event was published by https://jumble.imwald.eu." line. Drop alt from the lookup and name the source by its event kind instead, kept clickable to the note. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJh3QYonEa9hw6mJcnrmve