mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 18:43:52 +00:00
channel: Add option to notify users newly added to a channel.
When a user is added to a channel, we send the user that was added a Notification Bot DMs to let them know about it. In this commit, we add an option for whether or not this message is sent. If more than 100 users are added at once, we do not send notification bot DMs since it would be a performance-costly operation. We also send this threshold value of 100 in the initial state data to the clients. Fixes part of #31189
This commit is contained in:
@@ -34,7 +34,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
|
||||
# new level means in api_docs/changelog.md, as well as "**Changes**"
|
||||
# entries in the endpoint's documentation in `zulip.yaml`.
|
||||
|
||||
API_FEATURE_LEVEL = 396
|
||||
API_FEATURE_LEVEL = 397
|
||||
|
||||
# Bump the minor PROVISION_VERSION to indicate that folks should provision
|
||||
# only when going from an old version of the code to a newer version. Bump
|
||||
|
||||
Reference in New Issue
Block a user