summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-08 14:15:18 +0100
committerErik Johnston <erik@matrix.org>2016-06-08 14:15:18 +0100
commit1fd6eb695d1fffbe830faf50c13607116300095b (patch)
treee94ede3ad22d163cec3e095bdd32bf7064a7780e /synapse/federation
parentMerge pull request #853 from matrix-org/erikj/replication_noop (diff)
downloadsynapse-1fd6eb695d1fffbe830faf50c13607116300095b.tar.xz
Enable auth on federation PublicRoomList
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/transport/server.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index a1a334955f..ab9f38f010 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -532,11 +532,6 @@ class PublicRoomList(BaseFederationServlet):
         data = yield self.room_list_handler.get_local_public_room_list()
         defer.returnValue((200, data))
 
-    # Avoid doing remote HS authorization checks which are done by default by
-    # BaseFederationServlet.
-    def _wrap(self, code):
-        return code
-
 
 SERVLET_CLASSES = (
     FederationSendServlet,