mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 06:29:28 -05:00
make incr syncs work
This commit is contained in:
parent
056a6df546
commit
3bc5bd2d22
@ -499,7 +499,7 @@ class SyncHandler(object):
|
||||
if filter_members:
|
||||
member_state_ids = {
|
||||
t: state_ids[t]
|
||||
for t in state_ids if t[0] == EventTypes.Member
|
||||
for t in state_ids if state_ids[t][0] == EventTypes.Member
|
||||
}
|
||||
|
||||
else:
|
||||
@ -512,7 +512,7 @@ class SyncHandler(object):
|
||||
if filter_members:
|
||||
member_state_ids = {
|
||||
t: state_ids[t]
|
||||
for t in state_ids if t[0] == EventTypes.Member
|
||||
for t in state_ids if state_ids[t][0] == EventTypes.Member
|
||||
}
|
||||
|
||||
timeline_state = {
|
||||
@ -543,7 +543,8 @@ class SyncHandler(object):
|
||||
if filter_members:
|
||||
member_state_ids = {
|
||||
t: state_at_timeline_start[t]
|
||||
for t in state_at_timeline_start if t[0] == EventTypes.Member
|
||||
for t in state_at_timeline_start
|
||||
if state_at_timeline_start[t][0] == EventTypes.Member
|
||||
}
|
||||
|
||||
timeline_state = {
|
||||
|
Loading…
Reference in New Issue
Block a user