mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 06:24:07 -04:00
Merge pull request #4263 from rkfg/develop
Prevent crash on pagination.
This commit is contained in:
commit
b9d6756b14
2 changed files with 2 additions and 1 deletions
1
changelog.d/4263.bugfix
Normal file
1
changelog.d/4263.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Prevent crash on pagination.
|
|
@ -254,7 +254,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…
Add table
Add a link
Reference in a new issue