Put back the 'state.events' subobject
We're keeping 'events', in case we decide to add more keys later.
This commit is contained in:
parent
24ae0eee8e
commit
f6e092f6cc
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ class SyncRestServlet(RestServlet):
|
||||||
"prev_batch": room.timeline.prev_batch.to_string(),
|
"prev_batch": room.timeline.prev_batch.to_string(),
|
||||||
"limited": room.timeline.limited,
|
"limited": room.timeline.limited,
|
||||||
},
|
},
|
||||||
"state": serialized_state,
|
"state": {"events": serialized_state},
|
||||||
"private_user_data": {"events": private_user_data},
|
"private_user_data": {"events": private_user_data},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue