mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 05:36:02 -04:00
Remove redundated BaseHomeServer
This commit is contained in:
parent
c887c4cbd5
commit
9959d9ece8
12 changed files with 192 additions and 546 deletions
|
@ -17,15 +17,10 @@
|
|||
"""
|
||||
|
||||
from .replication import ReplicationLayer
|
||||
from .transport import TransportLayer
|
||||
from .transport.client import TransportLayerClient
|
||||
|
||||
|
||||
def initialize_http_replication(homeserver):
|
||||
transport = TransportLayer(
|
||||
homeserver,
|
||||
homeserver.hostname,
|
||||
server=homeserver.get_resource_for_federation(),
|
||||
client=homeserver.get_http_client()
|
||||
)
|
||||
transport = TransportLayerClient(homeserver)
|
||||
|
||||
return ReplicationLayer(homeserver, transport)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue