diff --git a/packages/react/src/components/ChatBody/ChatBody.js b/packages/react/src/components/ChatBody/ChatBody.js index 47b5b7690..94ea86199 100644 --- a/packages/react/src/components/ChatBody/ChatBody.js +++ b/packages/react/src/components/ChatBody/ChatBody.js @@ -112,7 +112,7 @@ const ChatBody = ({ (message) => { if (message.u.username !== username) { const isScrolledUp = messageListRef?.current?.scrollTop !== 0; - if (isScrolledUp) { + if (isScrolledUp && !('pinned' in message) && !('starred' in message)) { setOtherUserMessage(true); } }