0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-04 21:58:54 +01:00

Handle all events in a room correctly

This commit is contained in:
Erik Johnston 2018-04-09 16:02:48 +01:00
parent 11974f3787
commit 6e025a97b4

View file

@ -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: