We’re using the renderChatItem prop in the component, and we want to include timestamps between messages (but only if a certain amount of time passed between messages).
Could you pass previousMessage to renderChatItem so that the callback has access to the previous
message (and, therefore, the previous message’s sender / timestamp)?
Relevant line here: sendbird-uikit-react/ConversationScroll.jsx at main · sendbird/sendbird-uikit-react · GitHub