Closed AdamAexol closed 2 years ago
Hi @AdamAexol!
Thanks for the issue report! I will investigate and get back to you as soon as possible 👍
Best, Nuno
Hi @AdamAexol,
It looks that indeed the member
field is there, but it is not with the structure that the SDK is expecting, so the parsing fails. The backend will fix this, but we don't have an ETA for this at the moment, so meanwhile we will be adding a fallback in the SDK that should fix the problem 👍
We will let you know once this is released!
Best, Nuno
Hi!
This issue is now solved in the 4.21.1 release.
Thank you for your patience!
Best, Nuno
What did you do?
I removed user from channel when that user was disconnected and logged out of the app.
What did you expect to happen?
After connecting that user again stream-chat should get event about removal from that channel and that channel should also disappear from that user's channel list.
What happened instead?
Stream-chat receives event about removal from the channel, but cannot handle that event. It fails on decoding event object
Probably member field in memberContainer is required and in this event it's nil. Also after launching app again, above message is still in logs, as if this event was hanging on the pending events list. Channel that user was removed from is still on user's channel list even after refreshing it manually, but trying to load messages from that channel returns error about missing permissions to that channel.
GetStream Environment
GetStream Chat version:4.20.0 GetStream Chat frameworks: StreamChat iOS version: 15.5 Swift version: 5 Xcode version: 13.4.1 **Device: iPhone 7 Plus
Additional context