mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-22 17:28:38 +01:00
All other docs do not have `join_rules` but `join_rule` This PR fix this inconsistency. Mentioned by @digital:sorunome.de in [#matrix-dev:matrix.org](https://matrix.to/#/!XqBunHwQIXUiqCaoxq:matrix.org/$150142347531959wjGGm:sorunome.de)
31 lines
660 B
Plaintext
31 lines
660 B
Plaintext
{
|
|
"age": 242352,
|
|
"content": {
|
|
"membership": "invite",
|
|
"avatar_url": "mxc://localhost/SEsfnsuifSDFSSEF#auto",
|
|
"displayname": "Alice Margatroid"
|
|
},
|
|
"invite_room_state": [
|
|
{
|
|
"type": "m.room.name",
|
|
"state_key": "",
|
|
"content": {
|
|
"name": "Forest of Magic"
|
|
}
|
|
},
|
|
{
|
|
"type": "m.room.join_rules",
|
|
"state_key": "",
|
|
"content": {
|
|
"join_rule": "invite"
|
|
}
|
|
}
|
|
],
|
|
"state_key": "@alice:localhost",
|
|
"origin_server_ts": 1431961217939,
|
|
"event_id": "$WLGTSEFSEF:localhost",
|
|
"type": "m.room.member",
|
|
"room_id": "!Cuyf34gef24t:localhost",
|
|
"sender": "@example:localhost"
|
|
}
|