mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
create_user: Copy the avatar before announcing it.
This commit is contained in:
committed by
Alex Vandiver
parent
35f8c3c455
commit
be9369541a
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user