mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-17 23:04:06 -05:00
Prevent crash on pagination.
This commit is contained in:
parent
9a3e24a13d
commit
ae19a7db8c
1
changelog.d/4263.bugfix
Normal file
1
changelog.d/4263.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Prevent crash on pagination.
|
@ -253,7 +253,7 @@ class PaginationHandler(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
state = None
|
state = None
|
||||||
if event_filter and event_filter.lazy_load_members():
|
if event_filter and event_filter.lazy_load_members() and len(events) > 0:
|
||||||
# TODO: remove redundant members
|
# TODO: remove redundant members
|
||||||
|
|
||||||
# FIXME: we also care about invite targets etc.
|
# FIXME: we also care about invite targets etc.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user