We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a596287 commit 166e196Copy full SHA for 166e196
package/src/components/MessageList/MessageList.tsx
@@ -426,7 +426,7 @@ const MessageListWithContext = <
426
return;
427
}
428
429
- if (unreadIndicatorDate && lastItemDate > unreadIndicatorDate) {
+ if (channel.countUnread() && unreadIndicatorDate && lastItemDate > unreadIndicatorDate) {
430
setIsUnreadNotificationOpen(true);
431
} else {
432
setIsUnreadNotificationOpen(false);
0 commit comments