Enable auth on federation PublicRoomList

This commit is contained in:
Erik Johnston 2016-06-08 14:15:18 +01:00
parent 128360d4f0
commit 1fd6eb695d

View File

@ -532,11 +532,6 @@ class PublicRoomList(BaseFederationServlet):
data = yield self.room_list_handler.get_local_public_room_list() data = yield self.room_list_handler.get_local_public_room_list()
defer.returnValue((200, data)) 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 = ( SERVLET_CLASSES = (
FederationSendServlet, FederationSendServlet,