Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
gitter: Some users (e.g. from matrix.org) may not have avatar URLs.
Alex Vandiver842cff59758e
diff --git a/zerver/data_import/gitter.py b/zerver/data_import/gitter.pyindex faae72c2a0d..d443e455f4a 100644--- a/zerver/data_import/gitter.py+++ b/zerver/data_import/gitter.py@@ -83,7 +83,10 @@ def build_userprofile(user_map[user_data["id"]] = user_idemail = get_user_email(user_data, domain_name)- build_avatar(user_id, realm_id, email, user_data["avatarUrl"], timestamp, avatar_list)+ if user_data.get("avatarUrl"):+ build_avatar(+ user_id, realm_id, email, user_data["avatarUrl"], timestamp, avatar_list+ )# Build userprofile objectuserprofile = UserProfile(