|
|
|
@ -3,16 +3,17 @@ Client Config
|
|
|
|
|
|
|
|
|
|
.. _module:account_data:
|
|
|
|
|
|
|
|
|
|
Clients can store their config on their homeserver. This config will be synced
|
|
|
|
|
between different devices and can persist across installations on a particular
|
|
|
|
|
device.
|
|
|
|
|
Clients can store custom config data for their account on their homeserver.
|
|
|
|
|
This account data will be synced between different devices and can persist
|
|
|
|
|
across installations on a particular device. Users may only view the account
|
|
|
|
|
data for their own account
|
|
|
|
|
|
|
|
|
|
The config may be either global or scoped to a particular rooms.
|
|
|
|
|
The account_data may be either global or scoped to a particular rooms.
|
|
|
|
|
|
|
|
|
|
Events
|
|
|
|
|
------
|
|
|
|
|
|
|
|
|
|
The client recieves the config as a event in the ``account_data`` sections
|
|
|
|
|
The client recieves the account data as events in the ``account_data`` sections
|
|
|
|
|
of a v2 /sync.
|
|
|
|
|
|
|
|
|
|
These events can also be received in a v1 /events response or in the
|
|
|
|
|