mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Default to sending push rules on initial sync
This commit is contained in:
parent
b8be8cfff7
commit
673db8dcec
|
|
@ -256,7 +256,8 @@ func (rp *RequestPool) appendAccountData(
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(dataTypes) == 0 {
|
if len(dataTypes) == 0 {
|
||||||
return data, nil
|
// TODO: this fixes the sytest but is it the right thing to do?
|
||||||
|
dataTypes[""] = []string{"m.push_rules"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Iterate over the rooms
|
// Iterate over the rooms
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue