Skip to content
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

Channel Members are still visible after leaving a channel #365

Open
ondrejkorol opened this issue Sep 19, 2023 · 1 comment
Open

Channel Members are still visible after leaving a channel #365

ondrejkorol opened this issue Sep 19, 2023 · 1 comment

Comments

@ondrejkorol
Copy link

Hi. We’re getting reports that sometimes users who left a channel are still visible to other users.
My assumption is that there is some kind of cache issue.

It’s easy to replicate it within the Example app.
You’ll need two devices or simulators and pick two random accounts. For example:

As Luke Skywalker

  • Create a group chat and add Leia Organa

As Leia O.

  • Open the group chat.

If Luke S. leaves the group chat while Leia has the app open,

  • he’ll be correctly removed on his device, on BE, and on Leia’s device ✅

If Luke S. leaves the group chat while Leia has the app closed,

  • he’ll be correctly removed on his device, on BE, but ✅
  • he’ll stay visible as a channel member on Leia’s device ❌ (lastActiveMembers still returns Luke; unless you log out on that device, which clears the cache)

IMG_3238 2

GetStream Environment

GetStream Chat version: 4.36.0
GetStream Chat frameworks: StreamChatSwiftUI main
iOS version: iOS 15.5 - iOS 17.0
Swift version: 5

@martinmitrevski
Copy link
Contributor

Hey @ondrejkorol,

Thanks for reporting, we will look into it.

Best, Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants