GetStream / stream-chat-react

React Chat SDK ➜ Stream Chat 💬
https://getstream.io/chat/sdk/react/
Other
702 stars 273 forks source link

livestream chat should not include join notifications #68

Closed codekiln closed 4 years ago

codekiln commented 5 years ago

I have specified connect_events: False on my custom livestream type, and yet my customers are seeing "[Username] has joined the chat" notifications. This seems like a bug. On livestream style chat, connect notifications become very noisy when there are a lot of participants.

screenshot of getstreamIO livestream settings with "connect events" set to false

Can you recommend a workaround until this is solved?

UPDATE - I found a workaround by putting this in my CSS:

.str-chat__event-component__channel-event {
    display: none;
}

UPDATE 2: We are using:

python: stream-chat==0.4.3

js: stream-chat-react==0.6.20 stream-chat==1.0.4

jaapbakker88 commented 5 years ago

hi @codekiln, thank you for reporting this, I think this is a bug and we'll look into this. We'll update here once we have a solution.

vishalnarkhede commented 5 years ago

@codekiln Connect Event toggle only handles user.start_watching and user.stop_watching events. In next release we will add support for prop to customize UI component for these event notifications. Using that you can control weather to show or hide or customize as per your need.

jaapbakker88 commented 4 years ago

@vishalnarkhede was this fixed? @codekiln do you still have this issue?