Fix tag examples

pull/977/head
Mark Haines 9 years ago
parent 149890227a
commit e9d361841b

@ -314,8 +314,7 @@ paths:
"visibility": "private", "visibility": "private",
"private_user_data": [{ "private_user_data": [{
"type": "m.tag", "type": "m.tag",
"content": {"tags": ["work"]}, "content": {"tags": {"work": {}}}
"room_id": "!636q39766251:example.com"
}] }]
} }
schema: schema:

@ -248,7 +248,7 @@ paths:
"visibility": "private", "visibility": "private",
"private_user_data": [{ "private_user_data": [{
"type": "m.tag", "type": "m.tag",
"content": {"tags": ["work"]} "content": {"tags": {"work": {}}}
}] }]
} }
] ]

@ -270,7 +270,7 @@ paths:
"events": [ "events": [
{ {
"type": "m.tags", "type": "m.tags",
"content": {"tags": ["work"]} "content": {"tags": {"work": {}}}
} }
] ]
} }

Loading…
Cancel
Save