Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove most groups datastore code. (#12895)
Browse files Browse the repository at this point in the history
The remaining piece is a background update that is needed
for backwards compatibility.
  • Loading branch information
clokep authored Jun 1, 2022
1 parent f0aec0a commit 2e8763e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1,396 deletions.
1 change: 1 addition & 0 deletions changelog.d/12895.removal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove support for the non-standard groups/communities feature from Synapse.
4 changes: 2 additions & 2 deletions synapse/_scripts/synapse_port_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
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,
)
Expand Down Expand Up @@ -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)
Expand Down
Loading

0 comments on commit 2e8763e

Please sign in to comment.