diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-02-25 18:00:17 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-02-25 18:00:17 +0000 |
commit | 96c408273e3ed8fd18ca3f7530820a02c06c42c1 (patch) | |
tree | 1b1488899e2880f253327062bb418b5e285b6b27 | |
parent | elif not else if (diff) | |
download | synapse-96c408273e3ed8fd18ca3f7530820a02c06c42c1.tar.xz |
Fix group's call to generate_room_entry
Diffstat (limited to '')
-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 691752a30c..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, True, 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, True, len(joined_users), - with_alias=False, allow_private=True, + room_id, len(joined_users), with_alias=False, allow_private=True, ) if not entry: |