mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:06:08 -04:00
Flake8
This commit is contained in:
parent
20fe347906
commit
13b3d7b4a0
2 changed files with 9 additions and 5 deletions
|
@ -531,7 +531,8 @@ class GroupsServerHandler(object):
|
|||
})
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def update_room_group_association(self, group_id, requester_user_id, room_id, content):
|
||||
def update_room_group_association(self, group_id, requester_user_id, room_id,
|
||||
content):
|
||||
"""Add room to group
|
||||
"""
|
||||
RoomID.from_string(room_id) # Ensure valid room id
|
||||
|
@ -542,7 +543,9 @@ class GroupsServerHandler(object):
|
|||
|
||||
is_public = _parse_visibility_from_contents(content)
|
||||
|
||||
yield self.store.update_room_group_association(group_id, room_id, is_public=is_public)
|
||||
yield self.store.update_room_group_association(
|
||||
group_id, room_id, is_public=is_public
|
||||
)
|
||||
|
||||
defer.returnValue({})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue