Default to sending push rules on initial sync

This commit is contained in:
Neil Alexander 2020-06-19 12:47:25 +01:00
parent b8be8cfff7
commit 673db8dcec

View file

@ -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