summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorLuke Barnard <lukeb@openmarket.com>2017-10-27 11:27:43 +0100
committerLuke Barnard <lukeb@openmarket.com>2017-10-27 11:27:43 +0100
commit5451cc77926750c7da73202cf3251a72c5a6d497 (patch)
tree2038812a7c9e0492b1652b27f4e524fa8415ccf0 /synapse/storage
parentgroup is dict (diff)
downloadsynapse-5451cc77926750c7da73202cf3251a72c5a6d497.tar.xz
Request is_public from database
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/group_server.py4
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",
         )