Not all connected members appear in the member list of a channel
Closed this issue · 1 comments
lorux0 commented
Sometimes there is people currently talking in a specific chat channel which is not displayed in the member list.
Repro steps:
- Join a chat channel through the channel browser
- Open the member list of the channel
- Receive message in the channel from different people
- Sometimes the person is not displayed in the member list, being online at the moment
sandrade-dcl commented
We have checked the flow and the problem is that the information received from kernel is not correct. Each time we send the message GetChannelMembers
from renderer to kernel, we're receiving the message UpdateChannelMembers
2 times with less members than expected.
For example, right now we see that the #english channel has 22 online members BUT when we request the list of members, we receive only 2:
{"channelId":"!JhVbCsFETCKXNpPQXp:decentraland.org","members":[{"userId":"0x1b8ba74cc34c2927aac0a8af9c3b1ba2e61352f2","name":"SantiHisteria","isOnline":true},{"userId":"0x751c4e9b2c75a2d4e3442e0a06a67bf0bb02060a","name":"viisikanta","isOnline":true}]}
So we have 2 things to fix here:
- The
UpdateChannelMembers
is sent fromkernel
torenderer
2 times. - The
UpdateChannelMembers
come with less members than expected.
We're going to move this issue to the kernel
repo.