process_new_human_user: Update comments.

These comments miss to mention adding to user groups on the list of
things done with the new user account.
This commit is contained in:
Mateusz Mandera
2025-06-26 02:30:41 +08:00
committed by Tim Abbott
parent dbd63203af
commit 9e3a9b4349

View File

@@ -266,6 +266,7 @@ def add_new_user_history(
# Does the processing for a new user account:
# * Subscribes to default/invitation streams
# * Adds to initial user groups
# * Fills in some recent historical messages
# * Notifies other users in realm and Zulip about the signup
# * Deactivates PreregistrationUser objects
@@ -277,7 +278,7 @@ def process_new_human_user(
realm_creation: bool = False,
add_initial_stream_subscriptions: bool = True,
) -> None:
# subscribe to default/invitation streams and
# subscribe to default/invitation streams, add to groups and
# fill in some recent historical messages
set_up_streams_and_groups_for_new_human_user(
user_profile=user_profile,