only get member state IDs for incremental syncs if we're filtering
parent
0b56290f0b
commit
366f730bf6
|
@ -557,14 +557,14 @@ class SyncHandler(object):
|
||||||
current=current_state_ids,
|
current=current_state_ids,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
state_ids = {}
|
||||||
if filter_members:
|
if filter_members:
|
||||||
# strip off the (None, None) and filter to just room members
|
# strip off the (None, None) and filter to just room members
|
||||||
types = types[:-1]
|
types = types[:-1]
|
||||||
state_ids = yield self.store.get_state_ids_for_event(
|
if types:
|
||||||
batch.events[0].event_id, types=types
|
state_ids = yield self.store.get_state_ids_for_event(
|
||||||
)
|
batch.events[0].event_id, types=types
|
||||||
else:
|
)
|
||||||
state_ids = {}
|
|
||||||
|
|
||||||
state = {}
|
state = {}
|
||||||
if state_ids:
|
if state_ids:
|
||||||
|
|
Loading…
Reference in New Issue