From 2a07db4fae319f3c4ce6a8289fd1e36e79ed019d Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 19 Jan 2026 16:57:21 +0000 Subject: [PATCH] fix: put author name above content in root post, hide load older for NIP-22 - Move author/timestamp header above KindRenderer content in root posts - Also exclude NIP-22 from showing "Load older" button (like NIP-10) since all replies are loaded with the root post --- src/components/ChatViewer.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/ChatViewer.tsx b/src/components/ChatViewer.tsx index 7f5d614..4e9455d 100644 --- a/src/components/ChatViewer.tsx +++ b/src/components/ChatViewer.tsx @@ -285,14 +285,14 @@ const MessageItem = memo(function MessageItem({ if (isRootPost && message.event) { return (
- -
+
+
); } @@ -1019,7 +1019,8 @@ export function ChatViewer({ Header: () => hasMore && conversationResult.status === "success" && - protocol !== "nip-10" ? ( + protocol !== "nip-10" && + protocol !== "nip-22" ? (