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 36b1d6b commit 28b3674Copy full SHA for 28b3674
package/src/components/Channel/Channel.tsx
@@ -1204,7 +1204,7 @@ const ChannelWithContext = <
1204
if (latestSet) latestSet.messages = [];
1205
}
1206
if (channel.state.latestMessages.length === 0) {
1207
- await channel.query({}, 'latest');
+ await channel.query({ messages: { limit: 30 } }, 'latest');
1208
1209
await channel.state.loadMessageIntoState('latest');
1210
});
0 commit comments