mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-12 04:52:26 +01:00
Return list, not generator.
This commit is contained in:
parent
e462aa97bf
commit
a547e2df85
1 changed files with 1 additions and 3 deletions
|
@ -99,9 +99,7 @@ class StreamChangeCache(object):
|
||||||
keys = self._cache.keys()
|
keys = self._cache.keys()
|
||||||
i = keys.bisect_right(stream_pos)
|
i = keys.bisect_right(stream_pos)
|
||||||
|
|
||||||
return (
|
return [self._cache[k] for k in keys[i:]]
|
||||||
self._cache[k] for k in keys[i:]
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue