mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-03 17:54:14 +02:00
Merge ae375c2a1a into 9c014a9045
This commit is contained in:
commit
e74b20095d
|
|
@ -0,0 +1 @@
|
||||||
|
Clarify formats of string types.
|
||||||
|
|
@ -3120,19 +3120,20 @@ events they have already been sent, and choose to skip sending membership
|
||||||
events for members whose membership has not changed. These are called
|
events for members whose membership has not changed. These are called
|
||||||
'redundant membership events'. Clients may request that redundant membership
|
'redundant membership events'. Clients may request that redundant membership
|
||||||
events are always included in responses by setting `include_redundant_members`
|
events are always included in responses by setting `include_redundant_members`
|
||||||
to true in the filter.
|
to `true` in the filter.
|
||||||
|
|
||||||
The expected pattern for using lazy-loading is currently:
|
The expected pattern for using lazy-loading is currently:
|
||||||
|
|
||||||
- Client performs an initial /sync with lazy-loading enabled, and
|
- Client performs an initial `/sync` with lazy-loading enabled, and
|
||||||
receives only the membership events which relate to the senders of
|
receives only the membership events which relate to the senders of
|
||||||
the events it receives.
|
the events it receives.
|
||||||
- Clients which support display-name tab-completion or other
|
- Clients which support display-name tab-completion or other
|
||||||
operations which require rapid access to all members in a room
|
operations which require rapid access to all members in a room
|
||||||
should call /members for the currently selected room, with an `?at`
|
should call [`/members`](#get_matrixclientv3roomsroomidmembers) for
|
||||||
parameter set to the /sync response's from token. The member list
|
the currently selected room, with an `?at` parameter set to the
|
||||||
for the room is then maintained by the state in subsequent
|
`/sync` response's `from` token. The member list for the room is
|
||||||
incremental /sync responses.
|
then maintained by the state in subsequent incremental `/sync`
|
||||||
|
responses.
|
||||||
- Clients which do not support tab-completion may instead pull in
|
- Clients which do not support tab-completion may instead pull in
|
||||||
profiles for arbitrary users (e.g. read receipts, typing
|
profiles for arbitrary users (e.g. read receipts, typing
|
||||||
notifications) on demand by querying the room state or [`/profile`](#get_matrixclientv3profileuserid).
|
notifications) on demand by querying the room state or [`/profile`](#get_matrixclientv3profileuserid).
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,8 @@ properties:
|
||||||
`senders` filter.
|
`senders` filter.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-user-id
|
||||||
|
pattern: "^@"
|
||||||
type: array
|
type: array
|
||||||
not_types:
|
not_types:
|
||||||
description: A list of event types to exclude. If this list is absent then no
|
description: A list of event types to exclude. If this list is absent then no
|
||||||
|
|
@ -40,6 +42,8 @@ properties:
|
||||||
senders are included.
|
senders are included.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-user-id
|
||||||
|
pattern: "^@"
|
||||||
type: array
|
type: array
|
||||||
types:
|
types:
|
||||||
description: A list of event types to include. If this list is absent then all
|
description: A list of event types to include. If this list is absent then all
|
||||||
|
|
|
||||||
|
|
@ -43,12 +43,16 @@ allOf:
|
||||||
filter.
|
filter.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-room-id
|
||||||
|
pattern: "^!"
|
||||||
type: array
|
type: array
|
||||||
rooms:
|
rooms:
|
||||||
description: A list of room IDs to include. If this list is absent then all rooms
|
description: A list of room IDs to include. If this list is absent then all rooms
|
||||||
are included.
|
are included.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-room-id
|
||||||
|
pattern: "^!"
|
||||||
type: array
|
type: array
|
||||||
contains_url:
|
contains_url:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,8 @@ properties:
|
||||||
`state`, `timeline` or `account_data`
|
`state`, `timeline` or `account_data`
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-room-id
|
||||||
|
pattern: "^!"
|
||||||
type: array
|
type: array
|
||||||
rooms:
|
rooms:
|
||||||
description: A list of room IDs to include. If this list is absent then all rooms
|
description: A list of room IDs to include. If this list is absent then all rooms
|
||||||
|
|
@ -57,6 +59,8 @@ properties:
|
||||||
`state`, `timeline` or `account_data`
|
`state`, `timeline` or `account_data`
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-room-id
|
||||||
|
pattern: "^!"
|
||||||
type: array
|
type: array
|
||||||
ephemeral:
|
ephemeral:
|
||||||
allOf:
|
allOf:
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,8 @@ paths:
|
||||||
example: "@alice:example.com"
|
example: "@alice:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-user-id
|
||||||
|
pattern: "^@"
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|
@ -130,6 +132,8 @@ paths:
|
||||||
example: "@alice:example.com"
|
example: "@alice:example.com"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-user-id
|
||||||
|
pattern: "^@"
|
||||||
- in: path
|
- in: path
|
||||||
name: filterId
|
name: filterId
|
||||||
description: The filter ID to download.
|
description: The filter ID to download.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue