mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 10:52:29 +00:00
Prevent crash on pagination.
This commit is contained in:
1 parent
9a3e24a13d
commit
ae19a7db8c
2 files changed
+2
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
Prevent crash on pagination.
|
||||
@@ -253,7 +253,7 @@ class PaginationHandler(object):
|
||||
)
|
||||
|
||||
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
|
||||
|
||||
# FIXME: we also care about invite targets etc.
|
||||
|
||||
Reference in new issue
Block a user