mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +00:00
The lightning, nutzap, and onchain activity cards embed the zapped post via RenderZappedPost with makeItShort = true. The 2-line compact preview, however, only triggered when the logged-in user authored the post (makeItShort && isLoggedUser(author)). When the user is merely a zap-split beneficiary of someone else's post, that check failed and the post rendered in full instead of the intended compact preview. Gate the short preview on the boosted-note flag as well, so any post embedded in one of these activity cards (the only makeItShort callers that pass isBoostedNote = true) is always shown as a 2-line preview, regardless of author. Other makeItShort callers (Report, community post approval, attestation, reply composition, compose screens) all use isQuotedNote instead, so their behavior is unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q4rrFiWApq8EFpk4fSuTFH