mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Don't send push rules over and over again in incremental sync
This commit is contained in:
parent
11fc92398d
commit
e2e4bb6874
|
|
@ -82,11 +82,6 @@ func (p *AccountDataStreamProvider) IncrementalSync(
|
|||
return from
|
||||
}
|
||||
|
||||
if len(dataTypes) == 0 {
|
||||
// TODO: this fixes the sytest but is it the right thing to do?
|
||||
dataTypes[""] = []string{"m.push_rules"}
|
||||
}
|
||||
|
||||
// Iterate over the rooms
|
||||
for roomID, dataTypes := range dataTypes {
|
||||
// Request the missing data from the database
|
||||
|
|
|
|||
Loading…
Reference in a new issue