Skip to content

Instantly share code, notes, and snippets.

@richvdh
Last active November 13, 2015 11:26
Show Gist options
  • Select an option

  • Save richvdh/3a3dbae6291b3d0932fe to your computer and use it in GitHub Desktop.

Select an option

Save richvdh/3a3dbae6291b3d0932fe to your computer and use it in GitHub Desktop.
sync changes
"rooms": {
"joined": {
"!726s6s6q:example.com": {
"state": {
"m.room.member": {
"@alice:example.com": {
"sender": "@alice:example.com",
"type": "m.room.member",
"state_key": "@alice:example.com",
"content": {"membership": "join"},
"origin_server_ts": 1417731086795,
"event_id": "$66697273743031:example.com"
}
}
},
"timeline": {
"events": [
{
"sender": "@alice:example.com",
"type": "m.room.message",
"unsigned": {"age": "124524", "txn_id": "1234"},
"content": {
"body": "I am a fish",
"msgtype": "m.text"
},
"origin_server_ts": 1417731086797,
"event_id": "$74686972643033:example.com"
}
],
"limited": true,
"prev_batch": "t34-23535_0_0"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment