We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53eeafb commit f076c89Copy full SHA for f076c89
package/src/components/MessageList/MessageList.tsx
@@ -541,7 +541,6 @@ const MessageListWithContext = <
541
542
const handleEvent = async (event: Event<StreamChatGenerics>) => {
543
const mainChannelUpdated = !event.message?.parent_id || event.message?.show_in_channel;
544
- console.log(mainChannelUpdated, shouldMarkRead());
545
// When the scrollToBottomButtonVisible is true, we need to manually update the channelUnreadState.
546
if (scrollToBottomButtonVisible || channelUnreadState?.first_unread_message_id) {
547
setChannelUnreadState((prev) => {
0 commit comments