summary refs log tree commit diff
path: root/synapse/rest/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/base.py')
-rw-r--r--synapse/rest/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/base.py b/synapse/rest/base.py
index 79fc4dfb84..72bb66ddda 100644
--- a/synapse/rest/base.py
+++ b/synapse/rest/base.py
@@ -63,7 +63,7 @@ class RestServlet(object):
         self.hs = hs
 
         self.handlers = hs.get_handlers()
-        self.event_factory = hs.get_event_factory()
+        self.builder_factory = hs.get_event_builder_factory()
         self.auth = hs.get_auth()
         self.txns = HttpTransactionStore()