From c9ff174f61cd3ff82e95fcadd9c25ccb447ab417 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Wed, 16 Mar 2022 15:26:16 -0400 Subject: [PATCH] Add a note about edits. --- synapse/storage/databases/main/relations.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/synapse/storage/databases/main/relations.py b/synapse/storage/databases/main/relations.py index 63413aec99c5..f67ef5e68314 100644 --- a/synapse/storage/databases/main/relations.py +++ b/synapse/storage/databases/main/relations.py @@ -898,6 +898,9 @@ async def get_bundled_aggregations( results[event.event_id] = event_result # Fetch any edits (but not for redacted events). + # + # Note that there is no use in limiting edits by ignored users since the + # parent event should be ignored in the first place if the user is ignored. edits = await self._get_applicable_edits( [ event_id