Fix some obsolete uses of user_id key in events
Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com>
This commit is contained in:
parent
2fa7aac3be
commit
77b668a5dc
3 changed files with 6 additions and 4 deletions
|
@ -107,7 +107,7 @@ paths:
|
||||||
"chunk": [
|
"chunk": [
|
||||||
{
|
{
|
||||||
"origin_server_ts": 1444812213737,
|
"origin_server_ts": 1444812213737,
|
||||||
"user_id": "@alice:example.com",
|
"sender": "@alice:example.com",
|
||||||
"event_id": "$1444812213350496Caaaa:example.com",
|
"event_id": "$1444812213350496Caaaa:example.com",
|
||||||
"content": {
|
"content": {
|
||||||
"body": "hello world",
|
"body": "hello world",
|
||||||
|
@ -119,7 +119,7 @@ paths:
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"origin_server_ts": 1444812194656 ,
|
"origin_server_ts": 1444812194656 ,
|
||||||
"user_id": "@bob:example.com",
|
"sender": "@bob:example.com",
|
||||||
"event_id": "$1444812213350496Cbbbb:example.com",
|
"event_id": "$1444812213350496Cbbbb:example.com",
|
||||||
"content": {
|
"content": {
|
||||||
"body": "the world is big",
|
"body": "the world is big",
|
||||||
|
@ -131,7 +131,7 @@ paths:
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"origin_server_ts": 1444812163990,
|
"origin_server_ts": 1444812163990,
|
||||||
"user_id": "@bob:example.com",
|
"sender": "@bob:example.com",
|
||||||
"event_id": "$1444812213350496Ccccc:example.com",
|
"event_id": "$1444812213350496Ccccc:example.com",
|
||||||
"content": {
|
"content": {
|
||||||
"name": "New room name"
|
"name": "New room name"
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
(`#365 <https://github.com/matrix-org/matrix-doc/pull/365>`_).
|
(`#365 <https://github.com/matrix-org/matrix-doc/pull/365>`_).
|
||||||
- A number of clarifications to authentication
|
- A number of clarifications to authentication
|
||||||
(`#371 <https://github.com/matrix-org/matrix-doc/pull/371>`_).
|
(`#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:
|
- Changes to the API which will be backwards-compatible for clients:
|
||||||
|
|
||||||
|
|
|
@ -955,7 +955,7 @@ the following list:
|
||||||
- ``event_id``
|
- ``event_id``
|
||||||
- ``type``
|
- ``type``
|
||||||
- ``room_id``
|
- ``room_id``
|
||||||
- ``user_id``
|
- ``sender``
|
||||||
- ``state_key``
|
- ``state_key``
|
||||||
- ``prev_content``
|
- ``prev_content``
|
||||||
- ``content``
|
- ``content``
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue