summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-07-23 16:44:42 +0100
committerGitHub <noreply@github.com>2018-07-23 16:44:42 +0100
commita646bdc6705785a4634ce60e70c6113c1b6e8234 (patch)
tree3cb07ec6a145402f7661540d2779e94dffa7355b /synapse/handlers
parentMerge pull request #3581 from matrix-org/erikj/fixup_stateless (diff)
parentNewsfile (diff)
downloadsynapse-a646bdc6705785a4634ce60e70c6113c1b6e8234.tar.xz
Merge pull request #3582 from matrix-org/erikj/fixup_stateless
Fix missing attributes on workers.
Diffstat (limited to 'synapse/handlers')
-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,