make incr syncs work
This commit is contained in:
parent
056a6df546
commit
3bc5bd2d22
|
@ -499,7 +499,7 @@ class SyncHandler(object):
|
||||||
if filter_members:
|
if filter_members:
|
||||||
member_state_ids = {
|
member_state_ids = {
|
||||||
t: state_ids[t]
|
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:
|
else:
|
||||||
|
@ -512,7 +512,7 @@ class SyncHandler(object):
|
||||||
if filter_members:
|
if filter_members:
|
||||||
member_state_ids = {
|
member_state_ids = {
|
||||||
t: state_ids[t]
|
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 = {
|
timeline_state = {
|
||||||
|
@ -543,7 +543,8 @@ class SyncHandler(object):
|
||||||
if filter_members:
|
if filter_members:
|
||||||
member_state_ids = {
|
member_state_ids = {
|
||||||
t: state_at_timeline_start[t]
|
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 = {
|
timeline_state = {
|
||||||
|
|
Loading…
Reference in New Issue