diff --git a/src/components/nostr/compact/index.tsx b/src/components/nostr/compact/index.tsx index a50453e..90c62f7 100644 --- a/src/components/nostr/compact/index.tsx +++ b/src/components/nostr/compact/index.tsx @@ -69,19 +69,25 @@ export function DefaultCompactPreview({ event }: { event: NostrEvent }) { // Try to get a title, fall back to content preview const title = getEventDisplayTitle(event, false); - // If title is the content itself, truncate it - const displayText = - title === event.content && title.length > 80 - ? title.slice(0, 80) + "..." - : title; + // If event has a specific title (not the content itself), show it as plain text + // Otherwise, render the full event content with RichText for custom emoji support + const hasSpecificTitle = title !== event.content; return ( - + {hasSpecificTitle ? ( + + ) : ( + + )} ); }