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

Feature request: Control Visibility of Hidden Channels When New Messages Are Received. #2002

Open
Sanjuhub opened this issue Apr 24, 2023 · 5 comments
Labels
feature New capability

Comments

@Sanjuhub
Copy link

I would like to have more control over the visibility of hidden channels when new messages are received.

Currently, if a channel is hidden using the channel.hide() method and a new message is received on that channel, it will automatically become visible again. This can be problematic for users who wish to keep certain channels hidden for privacy or organizational reasons.

I propose a new feature that allows users to control the visibility of hidden channels when new messages are received. Specifically, I suggest implementing a new option in the channel.hide() method that prevents the channel from automatically becoming visible when a new message is received. Instead, the channel would remain hidden until the user calls channel.show() method on that channel.

This new feature would give users more control over the visibility of their channels and allow them to maintain privacy and organization in their chat rooms.

@Sanjuhub Sanjuhub added the feature New capability label Apr 24, 2023
@MartinCupela
Copy link
Contributor

@Sanjuhub
Copy link
Author

The unread count will not get updated in muted channels. But I need the unread count as well. @MartinCupela

@MartinCupela
Copy link
Contributor

@MartinCupela
Copy link
Contributor

@Sanjuhub did my last advice solve your problem?

@Sanjuhub
Copy link
Author

No, it was not helpful for us. We have a use case where we are providing users with the option to archive any chat. When a chat is archived, we hide it using the channel.hide() method in the backend. We also have an archive list where users can view the archived channels and send/receive messages, see unread counts, and unarchive channels. However, the current functionality of Stream automatically makes hidden channels visible when new messages are received, which does not solve our problem in this use case.

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

No branches or pull requests

2 participants