mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:54:47 -04:00
PEP8 and pyflakes warnings
This commit is contained in:
parent
a09882de83
commit
333836ff92
2 changed files with 4 additions and 2 deletions
|
@ -428,7 +428,9 @@ class RoomMemberHandler(BaseHandler):
|
|||
if not is_host_in_room:
|
||||
# is *anyone* in the room?
|
||||
room_member_keys = [
|
||||
v for (k,v) in context.current_state.keys() if k == "m.room.member"
|
||||
v for (k, v) in context.current_state.keys() if (
|
||||
k == "m.room.member"
|
||||
)
|
||||
]
|
||||
if len(room_member_keys) == 0:
|
||||
# has the room been created so we can join it?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue