mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
Allow overriding the default avatar image
(imported from commit 66d413682a822e0019f28033f19908bdd9fa0156)
This commit is contained in:
@@ -40,4 +40,4 @@ def get_avatar_url(avatar_source, email):
|
||||
hash_key = gravatar_hash(email)
|
||||
return "https://secure.gravatar.com/avatar/%s?d=identicon" % (hash_key,)
|
||||
else:
|
||||
return '/static/images/default-avatar.png?x=x'
|
||||
return settings.DEFAULT_AVATAR_URI+'?x=x'
|
||||
|
||||
Reference in New Issue
Block a user