mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 08:09:23 -05:00
Remove most groups datastore code. (#12895)
The remaining piece is a background update that is needed for backwards compatibility.
This commit is contained in:
parent
f0aec0abef
commit
2e8763ec96
1
changelog.d/12895.removal
Normal file
1
changelog.d/12895.removal
Normal file
@ -0,0 +1 @@
|
||||
Remove support for the non-standard groups/communities feature from Synapse.
|
@ -62,7 +62,7 @@ from synapse.storage.databases.main.end_to_end_keys import EndToEndKeyBackground
|
||||
from synapse.storage.databases.main.events_bg_updates import (
|
||||
EventsBackgroundUpdatesStore,
|
||||
)
|
||||
from synapse.storage.databases.main.group_server import GroupServerWorkerStore
|
||||
from synapse.storage.databases.main.group_server import GroupServerStore
|
||||
from synapse.storage.databases.main.media_repository import (
|
||||
MediaRepositoryBackgroundUpdateStore,
|
||||
)
|
||||
@ -211,7 +211,7 @@ class Store(
|
||||
PushRuleStore,
|
||||
PusherWorkerStore,
|
||||
PresenceBackgroundUpdateStore,
|
||||
GroupServerWorkerStore,
|
||||
GroupServerStore,
|
||||
):
|
||||
def execute(self, f: Callable[..., R], *args: Any, **kwargs: Any) -> Awaitable[R]:
|
||||
return self.db_pool.runInteraction(f.__name__, f, *args, **kwargs)
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user