Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

bots: Pass realm to get_system_bot calls in registration.py.

Mateusz Manderace4eb6f20307
diff --git a/corporate/lib/registration.py b/corporate/lib/registration.py
index ce410a5f45b..afebbb3bac2 100644
--- a/corporate/lib/registration.py
+++ b/corporate/lib/registration.py
@@ -64,7 +64,7 @@ def send_user_unable_to_signup_message_to_signup_notification_stream(
)
send_message_to_signup_notification_stream(
- get_system_bot(settings.NOTIFICATION_BOT), realm, message
+ get_system_bot(settings.NOTIFICATION_BOT, realm.id), realm, message
)