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 new messages might be already ready.

Tim Abbott2a4452e72257
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index a9eb567fbf6..761df9dbca8 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -702,6 +702,12 @@ paths:
description: |
The user's [message flags][message-flags] for the message.
+ Clients should inspect the flags field rather than assuming that
+ new messages are unread; [muted users](/api/mute-user), messages
+ sent by the current user, and more subtle scenarios can result
+ in a new message that the server has already marked as read for
+ the user.
+
[message-flags]: /api/update-message-flags#available-flags
items:
type: string