Skip to content
Snippets Groups Projects
Commit 96c40827 authored by Andrew Morgan's avatar Andrew Morgan
Browse files

Fix group's call to generate_room_entry

parent 1330aa4a
No related branches found
No related tags found
No related merge requests found
...@@ -113,8 +113,7 @@ class GroupsServerHandler(object): ...@@ -113,8 +113,7 @@ class GroupsServerHandler(object):
room_id = room_entry["room_id"] room_id = room_entry["room_id"]
joined_users = yield self.store.get_users_in_room(room_id) joined_users = yield self.store.get_users_in_room(room_id)
entry = yield self.room_list_handler.generate_room_entry( entry = yield self.room_list_handler.generate_room_entry(
room_id, True, len(joined_users), room_id, len(joined_users), with_alias=False, allow_private=True,
with_alias=False, allow_private=True,
) )
entry = dict(entry) # so we don't change whats cached entry = dict(entry) # so we don't change whats cached
entry.pop("room_id", None) entry.pop("room_id", None)
...@@ -544,8 +543,7 @@ class GroupsServerHandler(object): ...@@ -544,8 +543,7 @@ class GroupsServerHandler(object):
joined_users = yield self.store.get_users_in_room(room_id) joined_users = yield self.store.get_users_in_room(room_id)
entry = yield self.room_list_handler.generate_room_entry( entry = yield self.room_list_handler.generate_room_entry(
room_id, True, len(joined_users), room_id, len(joined_users), with_alias=False, allow_private=True,
with_alias=False, allow_private=True,
) )
if not entry: if not entry:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment