mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 18:54:57 -04:00
Remove the deprecated Handlers object (#8494)
All handlers now available via get_*_handler() methods on the HomeServer.
This commit is contained in:
parent
a93f3121f8
commit
c9c0ad5e20
40 changed files with 116 additions and 157 deletions
|
@ -44,7 +44,7 @@ class RoomTypingTestCase(unittest.HomeserverTestCase):
|
|||
|
||||
self.event_source = hs.get_event_sources().sources["typing"]
|
||||
|
||||
hs.get_handlers().federation_handler = Mock()
|
||||
hs.get_federation_handler = Mock()
|
||||
|
||||
async def get_user_by_access_token(token=None, allow_guest=False):
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue