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.yamlindex 215c03bb673..a66b148c1b5 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -9171,7 +9171,7 @@ paths:oneOf:- type: objectadditionalProperties:- $ref: "#/components/schemas/Presence"+ $ref: "#/components/schemas/LegacyPresenceFormat"- type: objectadditionalProperties: falseproperties:@@ -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 iseither 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: integerdescription: |@@ -21441,7 +21441,7 @@ components:type: stringdescription: |The type of the message: `"stream"` or `"private"`.- Presence:+ LegacyPresenceFormat:type: objectdescription: |`{client_name}` or `"aggregated"`: Object containing the details of the user's