diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-02-26 13:07:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-26 13:07:15 +0000 |
commit | a1a6473293141cf3356bcedc49c1262146976233 (patch) | |
tree | 205eb39ac6f53c624002da7c43274b0e5e7273cb /synapse/groups/groups_server.py | |
parent | Don't log stack trace when client has gone away during media download (#4738) (diff) | |
parent | Cleaner chunk logic (diff) | |
download | synapse-a1a6473293141cf3356bcedc49c1262146976233.tar.xz |
Merge pull request #4736 from matrix-org/anoa/public_rooms_federate
Config option to prevent showing non-fed rooms in fed /publicRooms
Diffstat (limited to 'synapse/groups/groups_server.py')
-rw-r--r-- | synapse/groups/groups_server.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py index 633c865ed8..a7eaead56b 100644 --- a/synapse/groups/groups_server.py +++ b/synapse/groups/groups_server.py @@ -113,8 +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), - with_alias=False, allow_private=True, + room_id, len(joined_users), with_alias=False, allow_private=True, ) entry = dict(entry) # so we don't change whats cached entry.pop("room_id", None) @@ -544,8 +543,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), - with_alias=False, allow_private=True, + room_id, len(joined_users), with_alias=False, allow_private=True, ) if not entry: |