diff options
author | Neil Johnson <neil@matrix.org> | 2019-05-22 13:55:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-22 13:55:32 +0100 |
commit | 66b75e2d81a2bacf33d51ea5339fa9066264955d (patch) | |
tree | a5e8da1b903c7d7accba1a649166636886268cc6 | |
parent | Update README.md (#5222) (diff) | |
download | synapse-66b75e2d81a2bacf33d51ea5339fa9066264955d.tar.xz |
Neilj/ensure get profileinfo available in client reader slaved store (#5213)
* expose SlavedProfileStore to ClientReaderSlavedStore
-rw-r--r-- | changelog.d/5200.bugfix | 1 | ||||
-rw-r--r-- | synapse/app/client_reader.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/5200.bugfix b/changelog.d/5200.bugfix new file mode 100644 index 0000000000..f346c7b0cc --- /dev/null +++ b/changelog.d/5200.bugfix @@ -0,0 +1 @@ +Fix worker registration bug caused by ClientReaderSlavedStore being unable to see get_profileinfo. diff --git a/synapse/app/client_reader.py b/synapse/app/client_reader.py index 864f1eac48..a16e037f32 100644 --- a/synapse/app/client_reader.py +++ b/synapse/app/client_reader.py @@ -38,6 +38,7 @@ from synapse.replication.slave.storage.devices import SlavedDeviceStore from synapse.replication.slave.storage.directory import DirectoryStore from synapse.replication.slave.storage.events import SlavedEventStore from synapse.replication.slave.storage.keys import SlavedKeyStore +from synapse.replication.slave.storage.profile import SlavedProfileStore from synapse.replication.slave.storage.push_rule import SlavedPushRuleStore from synapse.replication.slave.storage.receipts import SlavedReceiptsStore from synapse.replication.slave.storage.registration import SlavedRegistrationStore @@ -81,6 +82,7 @@ class ClientReaderSlavedStore( SlavedApplicationServiceStore, SlavedRegistrationStore, SlavedTransactionStore, + SlavedProfileStore, SlavedClientIpStore, BaseSlavedStore, ): |