Add configurable room list publishing rules

This allows specifying who and what is allowed to be published onto the
public room list
This commit is contained in:
Erik Johnston 2019-02-14 16:02:23 +00:00
parent c6e75c9f2d
commit eaf4d11af9
5 changed files with 200 additions and 22 deletions

View file

@ -121,6 +121,7 @@ class TestCreateAliasACL(unittest.HomeserverTestCase):
"action": "allow",
}
]
config["room_list_publication_rules"] = []
rd_config = RoomDirectoryConfig()
rd_config.read_config(config)