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
I apologize for late response. I will discuss this usecase with our engineering team and let you know of our findings. Meanwhile if you have any other questions please let us know.
I will add this to our feature request list and let you know if there is any further update. Please let us know if you have any other questions.