s/private_user_data/account_data/
This commit is contained in:
parent
24c4b8b095
commit
40f7eab73f
4 changed files with 6 additions and 6 deletions
|
@ -131,7 +131,7 @@ paths:
|
|||
"type": "m.presence"
|
||||
}
|
||||
],
|
||||
"private_user_data": [
|
||||
"account_data": [
|
||||
{
|
||||
"type": "org.example.custom.config",
|
||||
"content": {
|
||||
|
|
|
@ -24,7 +24,7 @@ paths:
|
|||
description: |-
|
||||
Set some config for the client. This config is only visible to the user
|
||||
that set the config. The config will be synced to clients in the
|
||||
top-level ``private_user_data``.
|
||||
top-level ``account_data``.
|
||||
security:
|
||||
- accessToken: []
|
||||
parameters:
|
||||
|
@ -63,7 +63,7 @@ paths:
|
|||
description: |-
|
||||
Set some config for the client on a given room. This config is only
|
||||
visible to the user that set the config. The config will be synced to
|
||||
clients in the per-room ``private_user_data``.
|
||||
clients in the per-room ``account_data``.
|
||||
security:
|
||||
- accessToken: []
|
||||
parameters:
|
||||
|
|
|
@ -233,7 +233,7 @@ paths:
|
|||
}
|
||||
]
|
||||
},
|
||||
"private_user_data": {
|
||||
"account_data": {
|
||||
"events": [
|
||||
{
|
||||
"type": "org.example.custom.config",
|
||||
|
|
|
@ -12,11 +12,11 @@ The config may be either global or scoped to a particular rooms.
|
|||
Events
|
||||
------
|
||||
|
||||
The client recieves the config as a event in the ``private_user_data`` sections
|
||||
The client recieves the config as a event in the ``account_data`` sections
|
||||
of a v2 /sync.
|
||||
|
||||
These events can also be received in a v1 /events response or in the
|
||||
``private_user_data`` section of a room in v1 /initialSync. ``m.tag``
|
||||
``account_data`` section of a room in v1 /initialSync. ``m.tag``
|
||||
events appearing in v1 /events will have a ``room_id`` with the room
|
||||
the tags are for.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue