mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
PEP8 and pyflakes warnings
This commit is contained in:
parent
a09882de83
commit
333836ff92
@ -623,7 +623,7 @@ class FederationHandler(BaseHandler):
|
||||
raise AuthError(403, "Host not in room.")
|
||||
|
||||
events = yield self.store.get_backfill_events(
|
||||
context,
|
||||
room_id,
|
||||
pdu_list,
|
||||
limit
|
||||
)
|
||||
|
@ -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…
Reference in New Issue
Block a user