mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 08:44:58 -04:00
Split out profile handler to fix tests
This commit is contained in:
parent
27ebc5c8f2
commit
bf81f3cf2c
11 changed files with 35 additions and 29 deletions
|
@ -51,6 +51,7 @@ from synapse.handlers.receipts import ReceiptsHandler
|
|||
from synapse.handlers.read_marker import ReadMarkerHandler
|
||||
from synapse.handlers.user_directory import UserDirectoyHandler
|
||||
from synapse.handlers.groups_local import GroupsLocalHandler
|
||||
from synapse.handlers.profile import ProfileHandler
|
||||
from synapse.groups.groups_server import GroupsServerHandler
|
||||
from synapse.groups.attestations import GroupAttestionRenewer, GroupAttestationSigning
|
||||
from synapse.http.client import SimpleHttpClient, InsecureInterceptableContextFactory
|
||||
|
@ -114,6 +115,7 @@ class HomeServer(object):
|
|||
'application_service_scheduler',
|
||||
'application_service_handler',
|
||||
'device_message_handler',
|
||||
'profile_handler',
|
||||
'notifier',
|
||||
'distributor',
|
||||
'client_resource',
|
||||
|
@ -258,6 +260,9 @@ class HomeServer(object):
|
|||
def build_initial_sync_handler(self):
|
||||
return InitialSyncHandler(self)
|
||||
|
||||
def build_profile_handler(self):
|
||||
return ProfileHandler(self)
|
||||
|
||||
def build_event_sources(self):
|
||||
return EventSources(self)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue