Skip to content

Commit

Permalink
Apply suggestions from code review (manually) matrix-org#2
Browse files Browse the repository at this point in the history
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
  • Loading branch information
ShadowJonathan and richvdh committed Apr 9, 2021
1 parent 4551879 commit 95ceb32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/federation/sender/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ async def get_federatable_events_and_destinations(
) -> List[Tuple[EventBase, Collection[str]]]:
with Measure(self.clock, "get_destinations_for_events"):
# Fetch federation destinations per event,
# skip if get_destinations_for_event returns None,
# skip if get_destinations_for_event returns an empty collection,
# return list of event->destinations pairs.
return [
(event, dests)
Expand Down

0 comments on commit 95ceb32

Please sign in to comment.