-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Port much of synapse.federation.federation_client
to async/await
#6840
Conversation
799c03e
to
ea23210
Compare
|
||
content = yield self._do_send_invite(destination, pdu, room_version) | ||
content = await self._do_send_invite(destination, pdu, room_version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why isn't _do_send_invite
async'ed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because I forgot it.
Done in 6bbd890.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because I forgot it.
(For some reason I'm imaging you singing that to the tune of https://www.youtube.com/watch?v=D_XI_290cfw)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you ever seen Billie Piper and me in the same room?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😮
Co-Authored-By: Erik Johnston <[email protected]>
* commit '577f46036': make FederationClient._do_send_invite async Apply suggestions from code review make FederationClient.send_invite async newsfile make FederationClient.get_missing_events async make FederationClient._do_send_leave async make FederationClient.send_leave.send_request async make FederationClient._do_send_join async make FederationClient.send_join.send_request async make FederationClient.make_membership_event.send_request async make FederationClient._try_destination_list async make FederationClient.send_leave async make FederationClient.send_join async make FederationClient.make_membership_event async make FederationClient.get_event_auth async make FederationClient.get_room_state_ids async make FederationClient.get_pdu async make FederationClient.backfill async
Another big async/await PR I'm afraid.
Based on #6837.