stream-chat-react
stream-chat-react copied to clipboard
fix: ignore new messages from channels a user is not a member in message.new handler for ChannelList
🎯 Goal
When a user is removed from a channel with channel.removeMembers([targetId],{text:"bye"})
:
- Remove the channel from the channel list - and keep it removed
- Remove the channel from the active channel - thus prevent user from being able to send messages
- (Optional) Set a new active channel to
undefined
| ???