mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 08:34:57 -04:00
Remove redundated BaseHomeServer
This commit is contained in:
parent
c887c4cbd5
commit
9959d9ece8
12 changed files with 192 additions and 546 deletions
|
@ -28,6 +28,10 @@ logger = logging.getLogger(__name__)
|
|||
class TransportLayerClient(object):
|
||||
"""Sends federation HTTP requests to other servers"""
|
||||
|
||||
def __init__(self, hs):
|
||||
self.server_name = hs.hostname
|
||||
self.client = hs.get_http_client()
|
||||
|
||||
@log_function
|
||||
def get_room_state(self, destination, room_id, event_id):
|
||||
""" Requests all state for a given room from the given server at the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue