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

Commit 4fe0b2e

Browse files
committed
Fixup comment
1 parent 801a11b commit 4fe0b2e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

synapse/handlers/typing.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,9 @@ async def get_new_events_as(
490490

491491
events = []
492492

493-
# Work on a copy of things here as these may change when this coroutine awaits the
494-
# is_interested_in_room call. Shallow copy is safe as no nested data is present.
493+
# Work on a copy of things here as these may change in the handler while
494+
# waiting for the AS `is_interested_in_room` call to complete.
495+
# Shallow copy is safe as no nested data is present.
495496
latest_room_serial = handler._latest_room_serial
496497
room_serials = handler._room_serials.copy()
497498

0 commit comments

Comments
 (0)