summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-07-23 16:28:00 +0100
committerErik Johnston <erik@matrix.org>2018-07-23 16:28:00 +0100
commit0faa3223cdf996aa18376a7420a43061a6691638 (patch)
tree3a00102320ac528b1e80f7168f44ad4edcdfca50 /synapse/handlers/message.py
parentMerge pull request #3581 from matrix-org/erikj/fixup_stateless (diff)
downloadsynapse-0faa3223cdf996aa18376a7420a43061a6691638.tar.xz
Fix missing attributes on workers.
This was missed during the transition from attribute to getter for
getting state from context.
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r--synapse/handlers/message.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index c4bcd9018b..7571975c22 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -807,8 +807,9 @@ class EventCreationHandler(object):
             # If we're a worker we need to hit out to the master.
             if self.config.worker_app:
                 yield send_event_to_master(
-                    self.hs.get_clock(),
-                    self.http_client,
+                    clock=self.hs.get_clock(),
+                    store=self.store,
+                    client=self.http_client,
                     host=self.config.worker_replication_host,
                     port=self.config.worker_replication_http_port,
                     requester=requester,