diff options
author | Luke Barnard <luke@matrix.org> | 2018-04-06 11:44:18 +0100 |
---|---|---|
committer | Luke Barnard <luke@matrix.org> | 2018-04-06 15:43:27 +0100 |
commit | 6bd1b7053e41350fcc1b451e40da82257e2120b5 (patch) | |
tree | 9b35871522102634daaebd6a8aee2f3ac9ffbea3 /synapse/groups | |
parent | add_user -> _add_user (diff) | |
download | synapse-6bd1b7053e41350fcc1b451e40da82257e2120b5.tar.xz |
By default, join policy is "invite"
Diffstat (limited to 'synapse/groups')
-rw-r--r-- | synapse/groups/groups_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py index 72dfed7dbb..8310dea031 100644 --- a/synapse/groups/groups_server.py +++ b/synapse/groups/groups_server.py @@ -905,7 +905,7 @@ def _parse_join_policy_dict(join_policy_dict): """ join_policy_type = join_policy_dict.get("type") if not join_policy_type: - return True + return "invite" if join_policy_type not in ("invite", "open"): raise SynapseError( |