forked from MirrorHub/synapse
Actually return something from lambda
This commit is contained in:
parent
e309b1045d
commit
a910984b58
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue