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.

api-docs: Rename Presence schema to LegacyPresenceFormat.

Lauryn Menard22fcf6cede9e
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 215c03bb673..a66b148c1b5 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -9171,7 +9171,7 @@ paths:
oneOf:
- type: object
additionalProperties:
- $ref: "#/components/schemas/Presence"
+ $ref: "#/components/schemas/LegacyPresenceFormat"
- type: object
additionalProperties: false
properties:
@@ -10741,7 +10741,7 @@ paths:
`{user_email}`: Object containing the details of a user's presence.
The object's key is the user's Zulip API email.
additionalProperties:
- $ref: "#/components/schemas/Presence"
+ $ref: "#/components/schemas/LegacyPresenceFormat"
example:
{
"msg": "",
@@ -13473,7 +13473,7 @@ paths:
presence . Depending on the value of `slim_presence`, the object's key is
either the user's ID or the user's Zulip API email.
additionalProperties:
- $ref: "#/components/schemas/Presence"
+ $ref: "#/components/schemas/LegacyPresenceFormat"
presence_last_update_id:
type: integer
description: |
@@ -21441,7 +21441,7 @@ components:
type: string
description: |
The type of the message: `"stream"` or `"private"`.
- Presence:
+ LegacyPresenceFormat:
type: object
description: |
`{client_name}` or `"aggregated"`: Object containing the details of the user's