mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
actions: Use get_system_bot in send_signup_message.
This commit is contained in:
@@ -242,7 +242,7 @@ def send_signup_message(sender, signups_stream, user_profile,
|
||||
)
|
||||
|
||||
# We also send a notification to the Zulip administrative realm
|
||||
admin_realm = get_user_profile_by_email(sender).realm
|
||||
admin_realm = get_system_bot(sender).realm
|
||||
try:
|
||||
# Check whether the stream exists
|
||||
get_stream(signups_stream, admin_realm)
|
||||
|
||||
Reference in New Issue
Block a user