mirror of
https://github.com/element-hq/synapse.git
synced 2025-04-08 11:13:59 +00:00
Handle all events in a room correctly
This commit is contained in:
parent
11974f3787
commit
6e025a97b4
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue