actions: Send new user messages to signup_notifications_stream.

This commit is contained in:
Vishnu Ks
2017-10-04 05:31:22 +05:30
committed by Tim Abbott
parent 42652713c8
commit a0275a6257
4 changed files with 28 additions and 13 deletions

View File

@@ -386,7 +386,7 @@ def build_custom_checkers(by_lang):
# This one in check_message is kinda terrible, since it's
# how most instances are written, but better to exclude something than nothing
('zerver/lib/actions.py', 'stream = get_stream(stream_name, realm)'),
('zerver/lib/actions.py', 'get_stream(signups_stream, admin_realm)'),
('zerver/lib/actions.py', 'get_stream(admin_realm_signup_notifications_stream, admin_realm)'),
# Here we need get_stream to access streams you've since unsubscribed from.
('zerver/views/messages.py', 'stream = get_stream(operand, self.user_profile.realm)'),
# Use stream_id to exclude mutes.