mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 16:16:04 -04:00
Shuffle receipt handler around so that worker apps don't need to load it
This commit is contained in:
parent
ee5e8d71ac
commit
feec718265
7 changed files with 11 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue