Basic, un-cached support for secondary_directory_servers

This commit is contained in:
David Baker 2016-05-31 17:20:07 +01:00
parent 70ecb415f5
commit d240796ded
5 changed files with 68 additions and 3 deletions

View file

@ -224,6 +224,18 @@ class TransportLayerClient(object):
defer.returnValue(response)
@defer.inlineCallbacks
@log_function
def get_public_rooms(self, remote_server):
path = PREFIX + "/publicRooms"
response = yield self.client.get_json(
destination=remote_server,
path=path,
)
defer.returnValue(response)
@defer.inlineCallbacks
@log_function
def exchange_third_party_invite(self, destination, room_id, event_dict):