Fix some obsolete uses of user_id key in events

Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com>
pull/977/head
Benjamin Saunders 8 years ago
parent 2fa7aac3be
commit 77b668a5dc

@ -107,7 +107,7 @@ paths:
"chunk": [
{
"origin_server_ts": 1444812213737,
"user_id": "@alice:example.com",
"sender": "@alice:example.com",
"event_id": "$1444812213350496Caaaa:example.com",
"content": {
"body": "hello world",
@ -119,7 +119,7 @@ paths:
},
{
"origin_server_ts": 1444812194656 ,
"user_id": "@bob:example.com",
"sender": "@bob:example.com",
"event_id": "$1444812213350496Cbbbb:example.com",
"content": {
"body": "the world is big",
@ -131,7 +131,7 @@ paths:
},
{
"origin_server_ts": 1444812163990,
"user_id": "@bob:example.com",
"sender": "@bob:example.com",
"event_id": "$1444812213350496Ccccc:example.com",
"content": {
"name": "New room name"

@ -19,6 +19,8 @@
(`#365 <https://github.com/matrix-org/matrix-doc/pull/365>`_).
- A number of clarifications to authentication
(`#371 <https://github.com/matrix-org/matrix-doc/pull/371>`_).
- Correct references to ``user_id`` which should have been ``sender``
(`#376 <https://github.com/matrix-org/matrix-doc/pull/376>`_).
- Changes to the API which will be backwards-compatible for clients:

@ -955,7 +955,7 @@ the following list:
- ``event_id``
- ``type``
- ``room_id``
- ``user_id``
- ``sender``
- ``state_key``
- ``prev_content``
- ``content``

Loading…
Cancel
Save