Merge pull request #4263 from rkfg/develop

Prevent crash on pagination.
pull/14/head
Erik Johnston 6 years ago committed by GitHub
commit b9d6756b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/4263.bugfix
  2. 2
      synapse/handlers/pagination.py

@ -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…
Cancel
Save