diff --git a/native/chat/message-list-container.react.js b/native/chat/message-list-container.react.js --- a/native/chat/message-list-container.react.js +++ b/native/chat/message-list-container.react.js @@ -18,6 +18,7 @@ useExistingThreadInfoFinder, } from 'lib/shared/thread-utils.js'; import type { ThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js'; +import { threadTypeIsThick } from 'lib/types/thread-types-enum.js'; import type { AccountUserInfo, UserListItem } from 'lib/types/user-types.js'; import { pinnedMessageCountText } from 'lib/utils/message-pinning-utils.js'; @@ -163,7 +164,16 @@ // It's technically possible for the client to be missing the Genesis // ThreadInfo when it first opens up (before the server delivers it) let parentThreadHeader; - if (genesisThreadInfo) { + if (threadTypeIsThick(threadInfo.type)) { + parentThreadHeader = ( + + ); + } else if (genesisThreadInfo) { parentThreadHeader = ( { + if (!parentThreadInfo) { + return; + } navigateToThread({ threadInfo: parentThreadInfo }); }, [parentThreadInfo, navigateToThread]); + let parentThreadButton; + if (parentThreadInfo) { + parentThreadButton = ( + <> + within + + + ); + } + return ( - within - + {parentThreadButton} );