-
Notifications
You must be signed in to change notification settings - Fork 69
Allow muting of @everyone notifications #8509
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
base: master
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's something a bit unpleasant about the types here isn't there. We are always doing exactly one thing (mute, unmute, mute everyone, unmute everyone) but all of the interfaces imply that we can do 0, 1 or 2 things.
I wonder if we could hide that unpleasantness until we arrive at the bottom layer.
I considered that but we also might want to do multiple things with a slightly different UI. Perhaps clicking a single notifications menu item opens a dialog with options that can all be changed in one go. It makes sense to me that the openchat-client supports this. |
So what does it mean to set both things to undefined? |
Acknowledged, but all other combinations make sense and I don't think the alternative will be nicer. |
The website must be upgraded with this commit before this PR is merged - then LUIs/groups/communities need to be upgraded before the website is upgraded with the changes in this PR.