summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-11-23 15:14:24 +0000
committerErik Johnston <erik@matrix.org>2016-11-23 15:14:24 +0000
commitfeec71826523deb63ca6b43cdcecc8edf8710775 (patch)
tree22e17d6e0fca9a1ad4055198dcb0488cb3084623 /synapse/rest/client/v2_alpha
parentFix tests (diff)
downloadsynapse-feec71826523deb63ca6b43cdcecc8edf8710775.tar.xz
Shuffle receipt handler around so that worker apps don't need to load it
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r--synapse/rest/client/v2_alpha/receipts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/receipts.py b/synapse/rest/client/v2_alpha/receipts.py
index 891cef99c6..1fbff2edd8 100644
--- a/synapse/rest/client/v2_alpha/receipts.py
+++ b/synapse/rest/client/v2_alpha/receipts.py
@@ -36,7 +36,7 @@ class ReceiptRestServlet(RestServlet):
         super(ReceiptRestServlet, self).__init__()
         self.hs = hs
         self.auth = hs.get_auth()
-        self.receipts_handler = hs.get_handlers().receipts_handler
+        self.receipts_handler = hs.get_receipts_handler()
         self.presence_handler = hs.get_presence_handler()
 
     @defer.inlineCallbacks