matrix-rust-sdk/test_data/context.json

212 lines
5.5 KiB
JSON
Raw Normal View History

2019-11-17 18:59:08 +00:00
{
"events_before": [],
"events_after": [
{
"content": {
"body": "yeah, let's do that",
"msgtype": "m.text"
},
"event_id": "$15163623196QOZxj:localhost",
"origin_server_ts": 1516362319505,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example:localhost",
"type": "m.room.message",
"unsigned": {
"age": 43464955731
},
"user_id": "@example:localhost",
"age": 43464955731
}
],
"start": "t182-189_0_0_0_0_0_0_0_0",
"end": "t184-190_0_0_0_0_0_0_0_0",
"event": {
"content": {
"body": "ok, let's handle invites, joins and parts",
"msgtype": "m.text"
},
"event_id": "$15163622445EBvZJ:localhost",
"origin_server_ts": 1516362244026,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example2:localhost",
"type": "m.room.message",
"unsigned": {
"age": 43465031210
},
"user_id": "@example2:localhost",
"age": 43465031210
},
"state": [
{
"content": {
"topic": "amazing work"
},
"event_id": "$151568196747dxLZM:localhost",
"origin_server_ts": 1515681967443,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example:localhost",
"state_key": "",
"type": "m.room.topic",
"unsigned": {
"replaces_state": "$151567214844LzHAk:localhost",
"age": 44145307793
},
"user_id": "@example:localhost",
"age": 44145307793,
"replaces_state": "$151567214844LzHAk:localhost"
},
{
"content": {
"aliases": [
"#tutorial:localhost"
]
},
"event_id": "$15139375516NUgtD:localhost",
"origin_server_ts": 1513937551720,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example:localhost",
"state_key": "localhost",
"type": "m.room.aliases",
"unsigned": {
"age": 45889723516
},
"user_id": "@example:localhost",
"age": 45889723516
},
{
"content": {
"history_visibility": "shared"
},
"event_id": "$15139375515VaJEY:localhost",
"origin_server_ts": 1513937551613,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example:localhost",
"state_key": "",
"type": "m.room.history_visibility",
"unsigned": {
"age": 45889723623
},
"user_id": "@example:localhost",
"age": 45889723623
},
{
"content": {
"join_rule": "public"
},
"event_id": "$15139375514WsgmR:localhost",
"origin_server_ts": 1513937551539,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example:localhost",
"state_key": "",
"type": "m.room.join_rules",
"unsigned": {
"age": 45889723697
},
"user_id": "@example:localhost",
"age": 45889723697
},
{
"content": {
"alias": "#tutorial:localhost"
},
"event_id": "$15139375513VdeRF:localhost",
"origin_server_ts": 1513937551461,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example:localhost",
"state_key": "",
"type": "m.room.canonical_alias",
"unsigned": {
"age": 45889723775
},
"user_id": "@example:localhost",
"age": 45889723775
},
{
"content": {
"ban": 50,
"events": {
"m.room.avatar": 50,
"m.room.canonical_alias": 50,
"m.room.history_visibility": 100,
"m.room.name": 50,
"m.room.power_levels": 100
},
"events_default": 0,
"invite": 0,
"kick": 50,
"redact": 50,
"state_default": 50,
"users": {
"@example:localhost": 100
},
"users_default": 0
},
"event_id": "$15139375512JaHAW:localhost",
"origin_server_ts": 1513937551359,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example:localhost",
"state_key": "",
"type": "m.room.power_levels",
"unsigned": {
"age": 45889723877
},
"user_id": "@example:localhost",
"age": 45889723877
},
{
"content": {
"creator": "@example:localhost"
},
"event_id": "$15139375510KUZHi:localhost",
"origin_server_ts": 1513937551203,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example:localhost",
"state_key": "",
"type": "m.room.create",
"unsigned": {
"age": 45889724033
},
"user_id": "@example:localhost",
"age": 45889724033
},
{
"content": {
"avatar_url": null,
"displayname": "example2",
"membership": "join"
},
"event_id": "$151396611913abyeC:localhost",
"membership": "join",
"origin_server_ts": 1513966119908,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example2:localhost",
"state_key": "@example2:localhost",
"type": "m.room.member",
"unsigned": {
"age": 45861155328
},
"user_id": "@example2:localhost",
"age": 45861155328
},
{
"content": {
"avatar_url": null,
"displayname": "example",
"membership": "join"
},
"event_id": "$15139375511GBYDY:localhost",
"membership": "join",
"origin_server_ts": 1513937551274,
"room_id": "!SVkFJHzfwvuaIEawgC:localhost",
"sender": "@example:localhost",
"state_key": "@example:localhost",
"type": "m.room.member",
"unsigned": {
"age": 45889723962
},
"user_id": "@example:localhost",
"age": 45889723962
}
]
}