diff options
author | Erik Johnston <erik@matrix.org> | 2016-11-23 15:14:24 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-11-23 15:14:24 +0000 |
commit | feec71826523deb63ca6b43cdcecc8edf8710775 (patch) | |
tree | 22e17d6e0fca9a1ad4055198dcb0488cb3084623 /synapse/rest | |
parent | Fix tests (diff) | |
download | synapse-feec71826523deb63ca6b43cdcecc8edf8710775.tar.xz |
Shuffle receipt handler around so that worker apps don't need to load it
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/receipts.py | 2 |
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 |