Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
bots: Pass realm to get_system_bot call in DeferredWorker.
Mateusz Manderaa01594e72b54
diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.pyindex 5d656d76b71..a9f3a3fdae9 100644--- a/zerver/worker/queue_processors.py+++ b/zerver/worker/queue_processors.py@@ -989,7 +989,7 @@ class DeferredWorker(QueueProcessingWorker):"Your data export is complete and has been uploaded here:\n\n{public_url}").format(public_url=public_url)internal_send_private_message(- sender=get_system_bot(settings.NOTIFICATION_BOT),+ sender=get_system_bot(settings.NOTIFICATION_BOT, realm.id),recipient_user=user_profile,content=content,)