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

Block channel #58

Closed
firsttimeeagle opened this issue Jul 16, 2020 · 7 comments
Closed

Block channel #58

firsttimeeagle opened this issue Jul 16, 2020 · 7 comments

Comments

@firsttimeeagle
Copy link

firsttimeeagle commented Jul 16, 2020

is there a way to block a channel so that all of the channel members no longer be able chat on that channel, and the blocked channel did not appear on channel list?

@firsttimeeagle firsttimeeagle changed the title Block channel/user Block channel Jul 16, 2020
@firsttimeeagle
Copy link
Author

or maybe block a user so that user no longer be able to initiate chat with us

@imtoori
Copy link
Contributor

imtoori commented Jul 16, 2020

@firsttimeeagle
Copy link
Author

in my case its one-on-one conversation, both of that method that you've provide doesn't satisfy my requirement for blocked channel because:

  • channel hide: the other user can still see, access, & use the channel because hiding channel only apply to one user not both user
  • user ban: only admin & moderator can ban user from the channel, what about one-on-one conversation?

@imtoori
Copy link
Contributor

imtoori commented Jul 16, 2020

is there a way to block a channel so that all of the channel members no longer be able chat on that channel, and the blocked channel did not appear on channel list?

for this I think you can just remove the members from the channel

you should use a server-side SDK

@imtoori
Copy link
Contributor

imtoori commented Jul 16, 2020

or maybe block a user so that user no longer be able to initiate chat with us

for this I think you can use user mutes https://getstream.io/chat/docs/moderation/?language=kotlin#mutes
also banning users is possible on server-side SDK

@firsttimeeagle
Copy link
Author

what do you mean with server side SDK? is this it? https://getstream.io/chat/docs/server_side_api/?language=dart

@imtoori
Copy link
Contributor

imtoori commented Jul 16, 2020

yes, those are the server-side SDKs

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

No branches or pull requests

2 participants