pull/6349/head
Brendan Abolivier 2019-11-11 16:51:54 +00:00
parent 5e18dc7955
commit edc4c7d4c5
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD
1 changed files with 1 additions and 3 deletions

View File

@ -378,9 +378,7 @@ class FederationServer(FederationBase):
time_now = self._clock.time_msec() time_now = self._clock.time_msec()
return { return {
"state": [p.get_pdu_json(time_now) for p in res_pdus["state"]], "state": [p.get_pdu_json(time_now) for p in res_pdus["state"]],
"auth_chain": [ "auth_chain": [p.get_pdu_json(time_now) for p in res_pdus["auth_chain"]],
p.get_pdu_json(time_now) for p in res_pdus["auth_chain"]
],
} }
async def on_make_leave_request(self, origin, room_id, user_id): async def on_make_leave_request(self, origin, room_id, user_id):