Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

avatar: Update avatar used for inaccessible users.

Sahil Batra3d969693988a
diff --git a/static/images/unknown-user-avatar.png b/static/images/unknown-user-avatar.png
new file mode 100644
index 00000000000..a1567ca5fdd
Binary files /dev/null and b/static/images/unknown-user-avatar.png differ
diff --git a/zerver/lib/avatar.py b/zerver/lib/avatar.py
index 660269430e6..222ae3b0ce3 100644
--- a/zerver/lib/avatar.py
+++ b/zerver/lib/avatar.py
@@ -150,4 +150,4 @@ def is_avatar_new(ldap_avatar: bytes, user_profile: UserProfile) -> bool:
def get_avatar_for_inaccessible_user() -> str:
- return staticfiles_storage.url("images/default-avatar.png")
+ return staticfiles_storage.url("images/unknown-user-avatar.png")