diff options
author | Luke Barnard <lukeb@openmarket.com> | 2017-10-27 11:27:43 +0100 |
---|---|---|
committer | Luke Barnard <lukeb@openmarket.com> | 2017-10-27 11:27:43 +0100 |
commit | 5451cc77926750c7da73202cf3251a72c5a6d497 (patch) | |
tree | 2038812a7c9e0492b1652b27f4e524fa8415ccf0 | |
parent | group is dict (diff) | |
download | synapse-5451cc77926750c7da73202cf3251a72c5a6d497.tar.xz |
Request is_public from database
-rw-r--r-- | synapse/storage/group_server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/group_server.py b/synapse/storage/group_server.py index d2437ff9c5..095a3dd382 100644 --- a/synapse/storage/group_server.py +++ b/synapse/storage/group_server.py @@ -35,7 +35,9 @@ class GroupServerStore(SQLBaseStore): keyvalues={ "group_id": group_id, }, - retcols=("name", "short_description", "long_description", "avatar_url",), + retcols=( + "name", "short_description", "long_description", "avatar_url", "is_public" + ), allow_none=True, desc="is_user_in_group", ) |