summary refs log tree commit diff
path: root/synapse/groups
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-02-22 15:43:11 +0000
committerErik Johnston <erik@matrix.org>2019-02-25 15:04:46 +0000
commitbd398b874eb375e92939a087a64258a4feb91f49 (patch)
tree8b92730b60c1b15fc343dc6cab524a25103b2075 /synapse/groups
parentConfig option to prevent showing non-fed rooms in fed /publicRooms (diff)
downloadsynapse-bd398b874eb375e92939a087a64258a4feb91f49.tar.xz
Don't restrict non-fed rooms over client APIs
Diffstat (limited to 'synapse/groups')
-rw-r--r--synapse/groups/groups_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index 633c865ed8..691752a30c 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -113,7 +113,7 @@ class GroupsServerHandler(object):
             room_id = room_entry["room_id"]
             joined_users = yield self.store.get_users_in_room(room_id)
             entry = yield self.room_list_handler.generate_room_entry(
-                room_id, len(joined_users),
+                room_id, True, len(joined_users),
                 with_alias=False, allow_private=True,
             )
             entry = dict(entry)  # so we don't change whats cached
@@ -544,7 +544,7 @@ class GroupsServerHandler(object):
 
             joined_users = yield self.store.get_users_in_room(room_id)
             entry = yield self.room_list_handler.generate_room_entry(
-                room_id, len(joined_users),
+                room_id, True, len(joined_users),
                 with_alias=False, allow_private=True,
             )