mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 10:54:10 -04:00
Move the presence handler out of the Handlers object
This commit is contained in:
parent
2d98c960ec
commit
3b86ecfa79
12 changed files with 29 additions and 18 deletions
|
@ -570,7 +570,7 @@ class RoomTypingRestServlet(ClientV1RestServlet):
|
|||
|
||||
def __init__(self, hs):
|
||||
super(RoomTypingRestServlet, self).__init__(hs)
|
||||
self.presence_handler = hs.get_handlers().presence_handler
|
||||
self.presence_handler = hs.get_presence_handler()
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def on_PUT(self, request, room_id, user_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue