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 3bd6b30 commit 53d29c2Copy full SHA for 53d29c2
package/src/components/MessageList/MessageList.tsx
@@ -541,7 +541,8 @@ const MessageListWithContext = <
541
index: number;
542
item: MessageType<StreamChatGenerics>;
543
}) => {
544
- if (!channel || (!channel.initialized && !channel.offlineMode)) return null;
+ if (!channel || channel.disconnected || (!channel.initialized && !channel.offlineMode))
545
+ return null;
546
547
const lastRead = channel.lastRead();
548
0 commit comments