-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
streams: Send message when a user is unsubscribed from a channel. #32149
base: main
Are you sure you want to change the base?
Conversation
d0723af
to
5b34d4d
Compare
7c518dd
to
930404c
Compare
930404c
to
6e060c2
Compare
@alya , This PR is ready for review !! |
@Aditya8840 #29307 already has some work on this with a lot of review feedbacks. Does this PR has work on top of that ? |
Sure, I'll rebase the commit. This PR also addresses the previously unaddressed feedback on #29307. I’d appreciate initial feedback on the implementation. |
This commit introduces a silent mention notification to be sent when a user is subscribed to a channel.
Previously, Notification Bot only sent messages to notify users when they were added to channels by others. However, there was no corresponding notification when they were removed from channels. This commit ensures that when a user is unsubscribed from a channel by another user, Notification Bot sends a message to inform them, using a silent mention of the acting user. The message follows this format: "@_**username** unsubscribed you from the channel #channel_name." Fixes: zulip#29272 Co-authored-by: Tanmay Kumar <tnmkr@users.noreply.github.com>
6e060c2
to
3b5ea61
Compare
@prakhar1144 I have rebased this PR. Could you please take a look and provide some initial feedback? |
Heads up @Aditya8840, we just merged some commits that conflict with the changes you made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
Previously, Notification Bot only sent messages to notify users when they were added to channels by others. However, there was no corresponding notification when they were removed from channels.
This commit ensures that when a user is unsubscribed from a channel by another user, Notification Bot sends a message to inform them, using a silent mention of the acting user. The message follows this format:
Fixes: #29272
Screenshots and Screen Captures
Self-review Checklist
(variable names, code reuse, readability, etc.).
Communicate decisions, questions, and potential concerns.
Individual commits are ready for review (see commit discipline).
Completed manual review and testing of the following: