diff --git a/packages/react/src/views/MessageAggregators/common/MessageAggregator.js b/packages/react/src/views/MessageAggregators/common/MessageAggregator.js index a49f547e1..9b9c57306 100644 --- a/packages/react/src/views/MessageAggregators/common/MessageAggregator.js +++ b/packages/react/src/views/MessageAggregators/common/MessageAggregator.js @@ -26,9 +26,11 @@ export const MessageAggregator = ({ const styles = getMessageAggregatorStyles(theme); const setExclusiveState = useSetExclusiveState(); const messages = useMessageStore((state) => state.messages); + const threadMessages = useMessageStore((state) => state.threadMessages) || []; + const allMessages = [...messages, ...threadMessages]; const [messageRendered, setMessageRendered] = useState(false); const { loading, messageList } = useSetMessageList( - searchFiltered || messages, + searchFiltered || allMessages, shouldRender );