From 673db8dcec192f24900198b8d691e12a4316142f Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 19 Jun 2020 12:47:25 +0100 Subject: [PATCH] Default to sending push rules on initial sync --- syncapi/sync/requestpool.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syncapi/sync/requestpool.go b/syncapi/sync/requestpool.go index 8d51689e3..743c63a62 100644 --- a/syncapi/sync/requestpool.go +++ b/syncapi/sync/requestpool.go @@ -256,7 +256,8 @@ func (rp *RequestPool) appendAccountData( } 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