mirror of https://github.com/zulip/zulip.git
Create our various bot users without subscriptions.
(imported from commit 9f9249cdb295f147d8b8b5cef17709c9aaa66418)
This commit is contained in:
parent
837fdca1c4
commit
6a690d4d4a
|
@ -199,6 +199,13 @@ class Command(BaseCommand):
|
|||
subscriptions_to_add.append(s)
|
||||
batch_bulk_create(Subscription, subscriptions_to_add)
|
||||
|
||||
internal_humbug_users_nosubs = [
|
||||
("Humbug Commit Bot", "humbug+commits@humbughq.com"),
|
||||
("Humbug Trac Bot", "humbug+trac@humbughq.com"),
|
||||
("Humbug Feedback Bot", "feedback@humbughq.com"),
|
||||
]
|
||||
create_users(realms, internal_humbug_users_nosubs)
|
||||
|
||||
self.stdout.write("Successfully populated test database.\n")
|
||||
if options["replay_old_messages"]:
|
||||
restore_saved_messages()
|
||||
|
|
Loading…
Reference in New Issue