mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Actually return something from lambda
This commit is contained in:
parent
e309b1045d
commit
a910984b58
@ -367,7 +367,7 @@ class EventFederationStore(SQLBaseStore):
|
||||
).addCallback(
|
||||
self._get_events
|
||||
).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):
|
||||
|
Loading…
Reference in New Issue
Block a user