Skip to content

Commit

Permalink
Merge pull request #88 from matrix-org/markjh/initial_sync_archived_flag
Browse files Browse the repository at this point in the history
Add flag to initial sync to say we want rooms that the user has left
  • Loading branch information
NegativeMjark committed Oct 9, 2015
2 parents 51ab51a + d42c319 commit d6bdde4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/client-server/v1/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ paths:
description: The maximum time in milliseconds to wait for an event.
required: false
x-example: "35000"
- in: query
type: string
name: archived
description: |-
Whether to include rooms that the user has left. If absent then
only rooms that the user has been invited to or has joined are
included. If set to "true" then rooms that the user has left are
included as well.
required: false
x-example: "true"
responses:
200:
description: "The events received, which may be none."
Expand Down

0 comments on commit d6bdde4

Please sign in to comment.