mirror of https://github.com/zulip/zulip.git
actions: Use get_system_bot in send_signup_message.
This commit is contained in:
parent
f3c04f711d
commit
39c6ae6488
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue