-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Channels shown multiple times #940
Comments
Hi @philippeauriach, thanks for reaching out. I don't immediately know of tips, but I'll set up an app with the same version of the dependencies and test it out to try to reproduce the issue on my end.
I'm not sure I understand what's being synced in this case. Are you updating the channels with custom data? If so, it doesn't sound like it would cause the issue, but it's worth looking into - thanks! :) Otherwise, would you be able to explain a bit more what the sync does? Thank you again, |
Hi @madsroskar , thanks for the help. Our server job takes a list of users (around 150), and for each of those users, create (or update, but use the
|
You could send it directly to me via email at [[edit: removed personal email for now]] or to our support email at [email protected] if that would work for you? 🙂 Thanks a lot for adding the snippet, that helps a lot! |
Video sent to your email, with additional info about the app purpose and how it works! thanks again |
To add to the "context", it seems that it happens when this user sends multiple messages to multiple channels (each morning) in a relatively short amount of time, and only one channel is deduplicated when scrolling |
Thanks for the added information, I'll try it out to see if it helps to reproduce the issue. :) |
Hello @madsroskar , we made a test without the design customization (we are using the |
We are seeing this issue also exactly the same as @philippeauriach describes. It is a rare reproduction, maybe once every 100 sessions. It often self resolves when the app is hard-killed and restarted. We could not find any way to reproduce it yet. If somebody finds the answer, we'd be happy to help test the solution and see if we can go a few weeks without any more reports of this. |
@jehartzog what |
@vishalnarkhede |
Hey @jehartzog please take a look at this. It should solve the issue - #901 (comment) |
@vishalnarkhede Thank you for the pointer. We have made the code change (removing the |
Hi @jehartzog - just wondering if you have noticed this reoccurring yet? |
@madsroskar I've left the project and wouldn't be a good source to answer the question. @lucaswhitman would know better if the issue has reoccurred since this change. |
@madsroskar I haven't had any reports, but they were few and far between in the first place so it's hard to say for sure. |
I am going to close this issue for now. On side note, we have published our next major version of RN Chat SDK - This release includes plenty of improvements and fixes. Please take a look at Release Notes for details. |
Describe the bug
A single channel is shown multiple times.
<ChannelList/>
is shown only when the user is connected to GetStream, the following way :_filters
is the result of a useMemo, updated when we change the filters. Basically it is just{type: 'messaging', members: {$in: [userIdentifier]}}
options
is static= { limit: 30 }
ChannelItem
is a home made component following the documentation (consuming the channel object and returning a memoized component to display channels)We regularly have an issue where a single channel is displayed multiple times. I'm having trouble reproducing it in dev (it happens on an end user account, I can provide a video showing the problem).
Any tips that could explain this ? We previously had a similar problem, caused by the
sort
option, that we removed on advice from the GetStream team and it improved the situation by a lot.Dev environment info (please complete/provide the following information):
[email protected]
,[email protected]
[email protected]
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
We have a server side job that sync users with conversations (to update conversation data), not sure if this could cause a problem? Should not?
Screenshots
If applicable, add screenshots to help explain your problem.
gz#15977
The text was updated successfully, but these errors were encountered: