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: Document that servers ignore unexpected event types.

Tim Abbott3810eaaa2509
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 9e2f199c141..edceb79ec34 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -6844,6 +6844,9 @@ paths:
`fetch_event_types` are used to fetch initial data. If
`fetch_event_types` is not provided, `event_types` is used and if
`event_types` is not provided, this parameter defaults to `None`.
+
+ Event types not supported by the server are ignored, in order to simplify
+ the implementation of client apps that support multiple server versions.
content:
application/json:
schema:
@@ -11712,6 +11715,9 @@ components:
your client in your client code. For most applications, one
is only interested in messages, so one specifies:
`event_types=['message']`
+
+ Event types not supported by the server are ignored, in order to simplify
+ the implementation of client apps that support multiple server versions.
content:
application/json:
schema: