Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
models: Document UserProfile.avatar_hash as LDAP-only.
Alex Vandiver3ce06361c86e
diff --git a/zerver/models/users.py b/zerver/models/users.pyindex f9105ab1cfe..d9a3fc53795 100644--- a/zerver/models/users.py+++ b/zerver/models/users.py@@ -560,6 +560,9 @@ class UserProfile(AbstractBaseUser, PermissionsMixin, UserBaseSettings):default=AVATAR_FROM_GRAVATAR, choices=AVATAR_SOURCES, max_length=1)avatar_version = models.PositiveSmallIntegerField(default=1)+ # This is only used for LDAP-provided avatars; it contains the+ # SHA256 hex digest of most recent raw contents that LDAP provided+ # us, pre-thumbnailing.avatar_hash = models.CharField(null=True, max_length=64)# TODO: TUTORIAL_STATUS was originally an optimization designed to