Remove ensureDeferred that only acted on awaitables
parent
8cc7023c8b
commit
5585a25c25
|
@ -992,9 +992,7 @@ class EventCreationHandler(object):
|
||||||
# way? If we have been invited by a remote server, we need
|
# way? If we have been invited by a remote server, we need
|
||||||
# to get them to sign the event.
|
# to get them to sign the event.
|
||||||
|
|
||||||
returned_invite = await defer.ensureDeferred(
|
returned_invite = await federation_handler.send_invite(invitee.domain, event)
|
||||||
federation_handler.send_invite(invitee.domain, event)
|
|
||||||
)
|
|
||||||
event.unsigned.pop("room_state", None)
|
event.unsigned.pop("room_state", None)
|
||||||
|
|
||||||
# TODO: Make sure the signatures actually are correct.
|
# TODO: Make sure the signatures actually are correct.
|
||||||
|
|
Loading…
Reference in New Issue