Merge pull request #40 from matrix-org/markjh/history_for_rooms_that_have_been_left
SPEC-216: Add rooms that have been left to initial sync
This commit is contained in:
commit
da7c2e7fa8
1 changed files with 10 additions and 5 deletions
|
@ -285,8 +285,11 @@ paths:
|
||||||
chunk:
|
chunk:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
A list of the most recent messages for this room. This
|
If the user is a member of the room this will be a
|
||||||
array will consist of at most ``limit`` elements.
|
list of the most recent messages for this room. If
|
||||||
|
the user has left the room this will be the
|
||||||
|
messages that preceeded them leaving. This array
|
||||||
|
will consist of at most ``limit`` elements.
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
title: RoomEvent
|
title: RoomEvent
|
||||||
|
@ -296,8 +299,10 @@ paths:
|
||||||
state:
|
state:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
A list of state events representing the current state
|
If the user is a member of the room this will be the
|
||||||
of the room.
|
current state of the room as a list of events. If the
|
||||||
|
user has left the room this will be the state of the
|
||||||
|
room when they left it.
|
||||||
items:
|
items:
|
||||||
title: StateEvent
|
title: StateEvent
|
||||||
type: object
|
type: object
|
||||||
|
@ -347,4 +352,4 @@ paths:
|
||||||
allOf:
|
allOf:
|
||||||
- "$ref": "definitions/event.yaml"
|
- "$ref": "definitions/event.yaml"
|
||||||
404:
|
404:
|
||||||
description: The event was not found or you do not have permission to read this event.
|
description: The event was not found or you do not have permission to read this event.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue