diff --git a/src/components/ChatViewer.tsx b/src/components/ChatViewer.tsx index f76f83c..45050a7 100644 --- a/src/components/ChatViewer.tsx +++ b/src/components/ChatViewer.tsx @@ -309,10 +309,10 @@ const MessageItem = memo(function MessageItem({ replyEvent && (CHAT_KINDS as readonly number[]).includes(replyEvent.kind); - return ( -
+ const zapMessageContent = ( +
{/* Reactions display - inline after timestamp */} + {canReply && onReply && ( + + )}
{shouldShowReplyPreview && (
); + + // Wrap in context menu if event exists + if (message.event) { + return ( + onReply(message.id) : undefined} + conversation={conversation} + adapter={adapter} + > + {zapMessageContent} + + ); + } + + return zapMessageContent; } // Regular user messages - wrap in context menu if event exists