Skip to content

Commit

Permalink
openapi: Note that a user's avatar_url may be missing.
Browse files Browse the repository at this point in the history
Like it already says in the detail about
`user_avatar_url_field_optional`, but on the field itself [1].

[1] zulip/zulip-mobile#4230 (comment)
  • Loading branch information
chrisbobbe authored and GregoryDRowe committed Oct 28, 2020
1 parent 0b0e166 commit 748088b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zerver/openapi/zulip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9817,6 +9817,10 @@ components:
URL for the the user's avatar. Will be `null` if the `client_gravatar`
query parameter was set to `True` and the user's avatar is hosted by
the Gravatar provider (i.e. the user has never uploaded an avatar).
**Changes**: In Zulip 3.0 (feature level 18), if the client has the
`user_avatar_url_field_optional` capability, this will be missing at
the server's sole discretion.
avatar_version:
type: integer
description: |
Expand Down

0 comments on commit 748088b

Please sign in to comment.