diff --git a/src/pages/common/components/ChatComponent/ChatComponent.tsx b/src/pages/common/components/ChatComponent/ChatComponent.tsx index 28054171e2..7e4c27dcfb 100644 --- a/src/pages/common/components/ChatComponent/ChatComponent.tsx +++ b/src/pages/common/components/ChatComponent/ChatComponent.tsx @@ -565,7 +565,7 @@ export default function ChatComponent({ markChatMessageItemAsSeen({ chatChannelId: feedItemId, }); - } else { + } else if (commonId) { markDiscussionMessageItemAsSeen({ feedObjectId: feedItemId, commonId,