aboutsummaryrefslogtreecommitdiff
path: root/syncapi/sync/requestpool.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-06-19 13:29:27 +0100
committerGitHub <noreply@github.com>2020-06-19 13:29:27 +0100
commit7f26b0cd13534ba235c2bf0a7220d3462ca8e9da (patch)
tree5e7728365d7cbb7d5366b704717397639ea92ad8 /syncapi/sync/requestpool.go
parent72444e4a4f31b70dfb7ddd875ef874f637699dce (diff)
Bind build support, further Yggdrasil demo updates (#1152)
* Add gobind builds for Yggdrasil demo * Massage client API a bit * Fix build * Fix gobind build * Fix gobind client API setup * Tweaks * Tweaks * Update sytest-whitelist, add comment * Default to sending push rules on initial sync
Diffstat (limited to 'syncapi/sync/requestpool.go')
-rw-r--r--syncapi/sync/requestpool.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/syncapi/sync/requestpool.go b/syncapi/sync/requestpool.go
index 8d51689e..743c63a6 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