Skip to content

Commit

Permalink
improve documentation of ephemeral events (#1284)
Browse files Browse the repository at this point in the history
  • Loading branch information
uhoreg committed Nov 17, 2022
1 parent 6492277 commit 2fcc92c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1284.clarification
@@ -0,0 +1 @@
Improve documentation about ephemeral events.
5 changes: 3 additions & 2 deletions data/api/client-server/definitions/sync_filter.yaml
Expand Up @@ -62,8 +62,9 @@ properties:
ephemeral:
allOf:
- $ref: room_event_filter.yaml
description: The events that aren't recorded in the room history, e.g. typing
and receipts, to include for rooms.
description: The ephemeral events to include for rooms. These are the
events that appear in the `ephemeral` property in the `/sync`
response.
include_leave:
description: Include rooms that the user has left in the sync, default false
type: boolean
Expand Down
8 changes: 5 additions & 3 deletions data/api/client-server/sync.yaml
Expand Up @@ -219,9 +219,11 @@ paths:
title: Ephemeral
type: object
description: |-
The ephemeral events in the room that aren't
recorded in the timeline or state of the room.
e.g. typing.
The new ephemeral events in the room (events that
aren't recorded in the timeline or state of the
room). In this version of the spec, these are
[typing notification](#typing-notifications) and
[read receipt](#receipts) events.
allOf:
- $ref: "definitions/event_batch.yaml"
account_data:
Expand Down

0 comments on commit 2fcc92c

Please sign in to comment.