summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-05-01 14:27:14 +0100
committerDavid Baker <dave@matrix.org>2018-05-01 14:27:14 +0100
commit105709bf325868cdb1e54497c04ec6b45493bc07 (patch)
tree9e2bd0d022b598fb153d19b0d909c5952863c93c
parentMerge pull request #3123 from matrix-org/dbkr/user_directory_defer_to_is (diff)
downloadsynapse-105709bf325868cdb1e54497c04ec6b45493bc07.tar.xz
Fix profile repl
-rw-r--r--synapse/handlers/profile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py

index 7202d3c81d..473c525581 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py
@@ -81,6 +81,7 @@ class ProfileHandler(BaseHandler): """ host_batches = yield self.store.get_replication_hosts() latest_batch = yield self.store.get_latest_profile_replication_batch_number() + if latest_batch is None latest_batch = -1 for repl_host in self.hs.config.replicate_user_profiles_to: if repl_host not in host_batches: host_batches[repl_host] = -1