Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

process_new_human_user: Update comments.

Mateusz Mandera9e3a9b434928
diff --git a/zerver/actions/create_user.py b/zerver/actions/create_user.py
index f5f51513720..814155a9159 100644
--- a/zerver/actions/create_user.py
+++ b/zerver/actions/create_user.py
@@ -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,