From a40facd09a620138db9bb27ba4df00de875b7c81 Mon Sep 17 00:00:00 2001 From: Khushal Agarwal Date: Tue, 2 Jul 2024 13:10:59 +0530 Subject: [PATCH] fix: show parent thread message on navigation through message action if its empty (#2577) --- package/src/components/MessageList/MessageList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/src/components/MessageList/MessageList.tsx b/package/src/components/MessageList/MessageList.tsx index 7d1dc59e6c..cad825b23a 100644 --- a/package/src/components/MessageList/MessageList.tsx +++ b/package/src/components/MessageList/MessageList.tsx @@ -1099,7 +1099,8 @@ const MessageListWithContext = < style={[styles.container, { backgroundColor: white_snow }, container]} testID='message-flat-list-wrapper' > - {processedMessageList.length === 0 ? ( + {/* Don't show the empty list indicator for Thread messages */} + {processedMessageList.length === 0 && !thread ? (