mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-12 04:52:26 +01: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:
|
||||
logger.info("Finding members from %r", state_ids)
|
||||
member_state_ids = {
|
||||
e: state_ids[e]
|
||||
for e in state_ids if state_ids[e][0] == EventTypes.Member
|
||||
t: state_ids[t]
|
||||
for t in state_ids if t[0] == EventTypes.Member
|
||||
}
|
||||
logger.info("Found members %r", member_state_ids)
|
||||
|
||||
|
@ -543,9 +543,8 @@ class SyncHandler(object):
|
|||
if filter_members:
|
||||
logger.info("Finding members from %r", state_at_timeline_start)
|
||||
member_state_ids = {
|
||||
e: state_at_timeline_start[e]
|
||||
for e in state_at_timeline_start
|
||||
if state_at_timeline_start[e][0] == EventTypes.Member
|
||||
t: state_at_timeline_start[t]
|
||||
for t in state_at_timeline_start if t[0] == EventTypes.Member
|
||||
}
|
||||
logger.info("Found members %r", member_state_ids)
|
||||
|
||||
|
|
Loading…
Reference in a new issue