UserId filter on channels doesn't work when new message arrives

UserId filter on channels doesn’t work when new message arrives

The code we use to filter the group channels by the userIds added to the group is

{
      channelListQuery: {
        includeEmpty: true,
        userIdsFilter: {
          userIds: groupUserIds,
          queryType: "OR",
          includeMode: true,
        },
      },
    }

          <ChannelList
            renderHeader={() => (
              <ChannelListHeader
                queries={queries}
                channel={channel}
                setMessageSectionCliked={setMessageSectionCliked}
                messageSectionCliked={messageSectionCliked}
              />
            )}
            showSearchIcon
            allowProfileEdit={false}
            onChannelSelect={(channel) => {
              if (channel && setCurrentChannelUrl(channel.url));
              setChannel(channel);
            }}
            queries={queries}
            onSetQuery={isQueryMessage}
          />

It filters the first time, but once new message recevied on any channels that’s excluded in the filter, the excluded channel also showing.

Top two channels just appeared as it recevied messages, even when the filter is there.


** SDK Versions**

"@sendbird/chat": "^4.0.13",
"@sendbird/uikit-react": "^3.2.1",

Reproduction Steps

{
      channelListQuery: {
        includeEmpty: true,
        userIdsFilter: {
          userIds: groupUserIds,
          queryType: "OR",
          includeMode: true,
        },
      },
    }
  • Not much of a reproduction it just didn’t work.
  • I’m passing the above query which should only include the userId present in the array groupUserIds
  • At first I’m seeing it filtered the Channels
  • Once new message received on any other channels, the new channel pops up even it is excluded by the filter

Frequency
All the time

Current impact
Production