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

Commit 913cdab

Browse files
committed
Lint
1 parent 86f3b05 commit 913cdab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

synapse/handlers/space_summary.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
HistoryVisibility,
2626
Membership,
2727
)
28-
from synapse.api.errors import NotFoundError
2928
from synapse.events import EventBase
3029
from synapse.events.utils import format_event_for_client_v2
3130
from synapse.types import JsonDict
@@ -149,7 +148,7 @@ async def get_space_summary(
149148
for room in fed_rooms:
150149
# Pull whether it is world readable from the returned information
151150
# since we may not have the state of this room.
152-
include_room = room.get("world_readable") == True
151+
include_room = room.get("world_readable") is True
153152
fed_room_id = room.get("room_id")
154153

155154
if not include_room and fed_room_id:

0 commit comments

Comments
 (0)