diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-03-18 13:49:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 17:49:32 +0000 |
commit | 8fe930c215f69913fbcd96d609ec6950644e4ec4 (patch) | |
tree | f7f61edeecb7ffc496ed4839015c46c9f10951c4 /synapse/events | |
parent | Only fetch thread participation for events with threads. (#12228) (diff) | |
download | synapse-8fe930c215f69913fbcd96d609ec6950644e4ec4.tar.xz |
Move get_bundled_aggregations to relations handler. (#12237)
The get_bundled_aggregations code is fairly high-level and uses a lot of store methods, we move it into the handler as that seems like a better fit.
Diffstat (limited to '')
-rw-r--r-- | synapse/events/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py index a0520068e0..7120062127 100644 --- a/synapse/events/utils.py +++ b/synapse/events/utils.py @@ -38,8 +38,8 @@ from synapse.util.frozenutils import unfreeze from . import EventBase if TYPE_CHECKING: + from synapse.handlers.relations import BundledAggregations from synapse.server import HomeServer - from synapse.storage.databases.main.relations import BundledAggregations # Split strings on "." but not "\." This uses a negative lookbehind assertion for '\' |