help: Add doc for setting profile picture back to gravatar.

This commit is contained in:
Siddharth Varshney
2020-03-30 20:40:11 +05:30
committed by Tim Abbott
parent cacf7bb7d4
commit e03176b272
4 changed files with 15 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ def users_to_zerver_userprofile(slack_data_dir: str, users: List[ZerverFieldsT],
user_id = user_id_count
email = get_user_email(user, domain_name)
# ref: https://chat.zulip.org/help/set-your-profile-picture
# ref: https://chat.zulip.org/help/change-your-profile-picture
avatar_url = build_avatar_url(slack_user_id, user['team_id'],
user['profile']['avatar_hash'])
build_avatar(user_id, realm_id, email, avatar_url, timestamp, avatar_list)