Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed May 3, 2021
1 parent 86f3b05 commit 913cdab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions synapse/handlers/space_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
HistoryVisibility,
Membership,
)
from synapse.api.errors import NotFoundError
from synapse.events import EventBase
from synapse.events.utils import format_event_for_client_v2
from synapse.types import JsonDict
Expand Down Expand Up @@ -149,7 +148,7 @@ async def get_space_summary(
for room in fed_rooms:
# Pull whether it is world readable from the returned information
# since we may not have the state of this room.
include_room = room.get("world_readable") == True
include_room = room.get("world_readable") is True
fed_room_id = room.get("room_id")

if not include_room and fed_room_id:
Expand Down

0 comments on commit 913cdab

Please sign in to comment.