diff options
author | Erik Johnston <erik@matrix.org> | 2018-04-09 16:02:48 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-04-09 16:02:48 +0100 |
commit | 6e025a97b4639e5869ecf7a9762aa559bfdf85f6 (patch) | |
tree | 8cbdfbb39802aab3143062215fbe29a86e06c2f7 /synapse/federation/transaction_queue.py | |
parent | Send federation events concurrently (diff) | |
download | synapse-6e025a97b4639e5869ecf7a9762aa559bfdf85f6.tar.xz |
Handle all events in a room correctly
Diffstat (limited to 'synapse/federation/transaction_queue.py')
-rw-r--r-- | synapse/federation/transaction_queue.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py index 43daf673c0..d8e5c08a3c 100644 --- a/synapse/federation/transaction_queue.py +++ b/synapse/federation/transaction_queue.py @@ -213,9 +213,10 @@ class TransactionQueue(object): self._send_pdu(event, destinations) + @defer.inlineCallbacks def handle_room_events(events): for event in events: - return handle_event(event) + yield handle_event(event) events_by_room = {} for event in events: |