mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 12:14:29 +03:00
fix tsm search again
This commit is contained in:
parent
f7dcc404f2
commit
4f0493c850
1 changed files with 4 additions and 5 deletions
|
@ -510,8 +510,8 @@ class SyncHandler(object):
|
||||||
if filter_members:
|
if filter_members:
|
||||||
logger.info("Finding members from %r", state_ids)
|
logger.info("Finding members from %r", state_ids)
|
||||||
member_state_ids = {
|
member_state_ids = {
|
||||||
e: state_ids[e]
|
t: state_ids[t]
|
||||||
for e in state_ids if state_ids[e][0] == EventTypes.Member
|
for t in state_ids if t[0] == EventTypes.Member
|
||||||
}
|
}
|
||||||
logger.info("Found members %r", member_state_ids)
|
logger.info("Found members %r", member_state_ids)
|
||||||
|
|
||||||
|
@ -543,9 +543,8 @@ class SyncHandler(object):
|
||||||
if filter_members:
|
if filter_members:
|
||||||
logger.info("Finding members from %r", state_at_timeline_start)
|
logger.info("Finding members from %r", state_at_timeline_start)
|
||||||
member_state_ids = {
|
member_state_ids = {
|
||||||
e: state_at_timeline_start[e]
|
t: state_at_timeline_start[t]
|
||||||
for e in state_at_timeline_start
|
for t in state_at_timeline_start if t[0] == EventTypes.Member
|
||||||
if state_at_timeline_start[e][0] == EventTypes.Member
|
|
||||||
}
|
}
|
||||||
logger.info("Found members %r", member_state_ids)
|
logger.info("Found members %r", member_state_ids)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue