mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
events: Don't send avatar URLs of long term idle users.
This adds a new client_capability that clients such as the mobile apps
can use to avoid unreasonable network bandwidth consumed sending
avatar URLs in organizations with 10,000s of users.
Clients don't strictly need this data, as they can always use the
/avatar/{user_id} endpoint to fetch the avatar if desired.
This will be more efficient especially for realms with
10,000+ users because the avatar URLs would increase the
payload size significantly and cost us more bandwidth.
Fixes #15287.
This commit is contained in:
committed by
Tim Abbott
parent
9911ec3e6d
commit
5200598a31
@@ -29,7 +29,7 @@ DESKTOP_WARNING_VERSION = "5.2.0"
|
||||
#
|
||||
# Changes should be accompanied by documentation explaining what the
|
||||
# new level means in templates/zerver/api/changelog.md.
|
||||
API_FEATURE_LEVEL = 17
|
||||
API_FEATURE_LEVEL = 18
|
||||
|
||||
# Bump the minor PROVISION_VERSION to indicate that folks should provision
|
||||
# only when going from an old version of the code to a newer version. Bump
|
||||
|
||||
Reference in New Issue
Block a user