This is the spec for https://github.com/matrix-org/matrix-doc/issues/910 Fixes https://github.com/matrix-org/matrix-doc/issues/910 Some reverse engineering was required to work out the complete details as to how this works. In particular, the 405 for setting account data and the behaviour of m.read. References: * 405 for account data:d69decd5c7/synapse/rest/client/v2_alpha/account_data.py (L85-L90)
* m.read behaviour:d69decd5c7/synapse/rest/client/v2_alpha/read_marker.py (L45-L52)
8 lines
156 B
Text
8 lines
156 B
Text
{
|
|
"$ref": "core/event.json",
|
|
"type": "m.fully_read",
|
|
"room_id": "!somewhere:domain.com",
|
|
"content": {
|
|
"event_id": "$someplace:domain.com"
|
|
}
|
|
}
|