Group channel list is not loading all channels for user

[Problem/Question]
List of group channels is not loading all channels for a user.

[SDK Version]
@sendbird/chat”: “4.20.5”,
@sendbird/uikit-react-native”: “3.12.1”,

[Reproduction Steps]

  1. You have to create multiple group channels for a user, at least 100.

  2. Create query params as below:
    const channelListQueryParams: ChannelListQueryParamsType = {
    order: GroupChannelListOrder.LATEST_LAST_MESSAGE,
    hiddenChannelFilter: HiddenChannelFilter.UNHIDDEN,,
    unreadChannelFilter: UnreadChannelFilter.ALL,
    limit: 40,
    };

  3. Use components from @sendbird/uikit-react-native to load list of chats

[Frequency]
Every first time when going to screen with chat list

[Current impact]
Poor user experience, user complain about missing chats.

[Debugging discoveries]
Inside useGroupChannelList hooks is flag hasMore which makes hook load more channels or not. Somehow this flag is set to false sometimes. If you change channelListQueryParams params to something different, for example add customTypesFilter and then change it back to params mentioned before whole list will be loaded

Hi @matbiz,

The behavior is likely due to the query filters being applied. Since the limit is set to 40, only 40 channels out of the 100 will be returned. Additionally, some channels may not meet the query conditions (for example, they could be in a hidden state), so they will not appear in the list.

To investigate further, we’ll need the Application ID, User ID, and the list of channel URLs that are not being displayed. Please create a support ticket with these details so we can review the issue in depth.

Nope it’s not, let’s assume that user has 100 channels, when I scroll down (to load next channels) and try to load all of them with mentioned filters I can load 76. Then I change filters to show only hidden channels and few are loaded. Then I change back to previous filters and all 100 channels are loaded while scrolling down.