diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2017-09-19 16:08:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-19 16:08:14 +0100 |
commit | aa620d09a01c226d7a6fbc0d839d8abd347a2b2e (patch) | |
tree | 497fc7af84c9a510e19bbff34e142cf6a799c52b /tests/utils.py | |
parent | add some comments to on_exchange_third_party_invite_request (diff) | |
download | synapse-aa620d09a01c226d7a6fbc0d839d8abd347a2b2e.tar.xz |
Add a config option to block all room invites (#2457)
- allows sysadmins the ability to lock down their servers so that people can't send their users room invites.
Diffstat (limited to '')
-rw-r--r-- | tests/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py index 4f7e32b3ab..3c81a3e16d 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -56,6 +56,7 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs): config.worker_replication_url = "" config.worker_app = None config.email_enable_notifs = False + config.block_non_admin_invites = False config.use_frozen_dicts = True config.database_config = {"name": "sqlite3"} |