diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-10-13 08:02:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 08:02:11 -0400 |
commit | 3bbe532abb7bfc41467597731ac1a18c0331f539 (patch) | |
tree | 922548878d0c03f6919ba6f7e49a387accc777e1 /synapse/_scripts | |
parent | Fix a bug where the joined hosts for a given event were not being properly ca... (diff) | |
download | synapse-3bbe532abb7bfc41467597731ac1a18c0331f539.tar.xz |
Add an API for listing threads in a room. (#13394)
Implement the /threads endpoint from MSC3856. This is currently unstable and behind an experimental configuration flag. It includes a background update to backfill data, results from the /threads endpoint will be partial until that finishes.
Diffstat (limited to 'synapse/_scripts')
-rwxr-xr-x | synapse/_scripts/synapse_port_db.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py index 5fa599e70e..d850e54e17 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py @@ -72,6 +72,7 @@ from synapse.storage.databases.main.registration import ( RegistrationBackgroundUpdateStore, find_max_generated_user_id_localpart, ) +from synapse.storage.databases.main.relations import RelationsWorkerStore from synapse.storage.databases.main.room import RoomBackgroundUpdateStore from synapse.storage.databases.main.roommember import RoomMemberBackgroundUpdateStore from synapse.storage.databases.main.search import SearchBackgroundUpdateStore @@ -206,6 +207,7 @@ class Store( PusherWorkerStore, PresenceBackgroundUpdateStore, ReceiptsBackgroundUpdateStore, + RelationsWorkerStore, ): def execute(self, f: Callable[..., R], *args: Any, **kwargs: Any) -> Awaitable[R]: return self.db_pool.runInteraction(f.__name__, f, *args, **kwargs) |