Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
create_user: Copy the avatar before announcing it.
Alex Vandiverbe9369541af0
diff --git a/zerver/lib/create_user.py b/zerver/lib/create_user.pyindex dccece254d6..9cf97892d64 100644--- a/zerver/lib/create_user.py+++ b/zerver/lib/create_user.py@@ -55,13 +55,13 @@ def copy_default_settings(if settings_source.avatar_source == UserProfile.AVATAR_FROM_USER:from zerver.actions.user_settings import do_change_avatar_fields+ copy_avatar(settings_source, target_profile)do_change_avatar_fields(target_profile,UserProfile.AVATAR_FROM_USER,skip_notify=True,acting_user=target_profile,)- copy_avatar(settings_source, target_profile)copy_onboarding_steps(settings_source, target_profile)