mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-12 04:52:26 +01:00
make incr syncs work
This commit is contained in:
parent
056a6df546
commit
3bc5bd2d22
1 changed files with 4 additions and 3 deletions
|
@ -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 a new issue