diff options
author | Luke Barnard <luke@matrix.org> | 2018-04-05 16:31:57 +0100 |
---|---|---|
committer | Luke Barnard <luke@matrix.org> | 2018-04-06 15:43:27 +0100 |
commit | ae85c7804e733aa1adaed06a9de51445a084858e (patch) | |
tree | a052983e6773886fb454f57e29867cd4e022fa17 /synapse/storage/group_server.py | |
parent | Fix federation client `set_group_joinable` typo (diff) | |
download | synapse-ae85c7804e733aa1adaed06a9de51445a084858e.tar.xz |
is_joinable -> join_rule
Diffstat (limited to 'synapse/storage/group_server.py')
-rw-r--r-- | synapse/storage/group_server.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/storage/group_server.py b/synapse/storage/group_server.py index 5fbe0ada4e..d81609dd16 100644 --- a/synapse/storage/group_server.py +++ b/synapse/storage/group_server.py @@ -57,15 +57,12 @@ class GroupServerStore(SQLBaseStore): }, retcols=( "name", "short_description", "long_description", - "avatar_url", "is_public", "is_joinable", + "avatar_url", "is_public", "join_rule", ), allow_none=True, desc="get_group", ) - if ret and 'is_joinable' in ret: - ret['is_joinable'] = bool(ret['is_joinable']) - defer.returnValue(ret) def get_users_in_group(self, group_id, include_private=False): |