mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
Rename tutorial bot to zulip.com domain.
(imported from commit e91ff584f565d76b52577194e3d263232e1a0e46)
This commit is contained in:
@@ -26,7 +26,7 @@ class Command(BaseCommand):
|
|||||||
def handle(self, **options):
|
def handle(self, **options):
|
||||||
possible_tutorial_streams = Stream.objects.filter(Q(name__startswith='tutorial-'))
|
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:
|
for stream in possible_tutorial_streams:
|
||||||
recipient = Recipient.objects.get(type=Recipient.STREAM, type_id=stream.id)
|
recipient = Recipient.objects.get(type=Recipient.STREAM, type_id=stream.id)
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ class Command(BaseCommand):
|
|||||||
("Zulip New User Bot", "humbug+signups@humbughq.com"),
|
("Zulip New User Bot", "humbug+signups@humbughq.com"),
|
||||||
("Zulip Error Bot", "humbug+errors@humbughq.com"),
|
("Zulip Error Bot", "humbug+errors@humbughq.com"),
|
||||||
("Zulip Notification Bot", "humbug+notifications@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)
|
create_users(realms, hardcoded_humbug_users_nosubs)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user