diff --git a/src/components/ChatViewer.tsx b/src/components/ChatViewer.tsx index b62d872..af29920 100644 --- a/src/components/ChatViewer.tsx +++ b/src/components/ChatViewer.tsx @@ -262,6 +262,7 @@ const MessageItem = memo(function MessageItem({ onReply, canReply, onScrollToMessage, + isRootMessage, }: { message: Message; adapter: ChatProtocolAdapter; @@ -269,6 +270,7 @@ const MessageItem = memo(function MessageItem({ onReply?: (messageId: string) => void; canReply: boolean; onScrollToMessage?: (messageId: string) => void; + isRootMessage?: boolean; }) { // Get relays for this conversation (memoized to prevent unnecessary re-subscriptions) const relays = useMemo( @@ -377,7 +379,7 @@ const MessageItem = memo(function MessageItem({ {/* Reactions display - inline after timestamp */} - {canReply && onReply && ( + {canReply && onReply && !isRootMessage && (