Add unique index to group_rooms table

This commit is contained in:
Erik Johnston 2017-09-26 15:39:13 +01:00
parent 0d7c7fd907
commit a8e2a3df32
2 changed files with 1 additions and 3 deletions

View file

@ -466,8 +466,6 @@ class GroupsServerHandler(object):
group_id, and_exists=True, and_is_admin=requester_user_id
)
# TODO: Check if room has already been added
is_public = _parse_visibility_from_contents(content)
yield self.store.add_room_to_group(group_id, room_id, is_public=is_public)