From c81f2b2b977b4213a997b36717a15dac09501c2a Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 24 Jul 2013 14:17:08 -0400 Subject: [PATCH] Rename tutorial bot to zulip.com domain. (imported from commit e91ff584f565d76b52577194e3d263232e1a0e46) --- zephyr/management/commands/delete_tutorial_streams.py | 2 +- zephyr/management/commands/populate_db.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zephyr/management/commands/delete_tutorial_streams.py b/zephyr/management/commands/delete_tutorial_streams.py index 1a875a0a8d..612328cb32 100644 --- a/zephyr/management/commands/delete_tutorial_streams.py +++ b/zephyr/management/commands/delete_tutorial_streams.py @@ -26,7 +26,7 @@ class Command(BaseCommand): def handle(self, **options): possible_tutorial_streams = Stream.objects.filter(Q(name__startswith='tutorial-')) - tutorial_bot = get_user_profile_by_email("humbug+tutorial@humbughq.com") + tutorial_bot = get_user_profile_by_email("tutorial-bot@zulip.com") for stream in possible_tutorial_streams: recipient = Recipient.objects.get(type=Recipient.STREAM, type_id=stream.id) diff --git a/zephyr/management/commands/populate_db.py b/zephyr/management/commands/populate_db.py index dbded3a1ff..379c5903fc 100644 --- a/zephyr/management/commands/populate_db.py +++ b/zephyr/management/commands/populate_db.py @@ -196,7 +196,7 @@ class Command(BaseCommand): ("Zulip New User Bot", "humbug+signups@humbughq.com"), ("Zulip Error Bot", "humbug+errors@humbughq.com"), ("Zulip Notification Bot", "humbug+notifications@humbughq.com"), - ("Zulip Tutorial Bot", "humbug+tutorial@humbughq.com"), + ("Zulip Tutorial Bot", "tutorial-bot@zulip.com"), ] create_users(realms, hardcoded_humbug_users_nosubs)