0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 04:03:51 +01:00

Actually return something from lambda

This commit is contained in:
Erik Johnston 2015-05-21 15:58:41 +01:00
parent e309b1045d
commit a910984b58

View file

@ -367,7 +367,7 @@ class EventFederationStore(SQLBaseStore):
).addCallback( ).addCallback(
self._get_events self._get_events
).addCallback( ).addCallback(
lambda l: l.sort(key=lambda e: -e.depth) lambda l: sorted(l, key=lambda e: -e.depth)
) )
def _get_backfill_events(self, txn, room_id, event_list, limit): def _get_backfill_events(self, txn, room_id, event_list, limit):