diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-06-01 09:41:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 09:41:25 -0400 |
commit | 7bc08f320147a1d80371eb13258328c88073fad0 (patch) | |
tree | 1f22e49297c6c5ff79d8845c6a81538e13e6b13b /synapse/storage | |
parent | Remove direct refeferences to PyNaCl (use signedjson instead). (#12902) (diff) | |
download | synapse-7bc08f320147a1d80371eb13258328c88073fad0.tar.xz |
Remove remaining bits of groups code. (#12936)
* Update worker docs to remove group endpoints. * Removes an unused parameter to `ApplicationService`. * Break dependency between media repo and groups. * Avoid copying `m.room.related_groups` state events during room upgrades.
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/databases/main/media_repository.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/storage/databases/main/media_repository.py b/synapse/storage/databases/main/media_repository.py index 40ac377ca9..deffdc19ce 100644 --- a/synapse/storage/databases/main/media_repository.py +++ b/synapse/storage/databases/main/media_repository.py @@ -278,10 +278,6 @@ class MediaRepositoryStore(MediaRepositoryBackgroundUpdateStore): WHERE profiles.avatar_url = '{media_prefix}' || lmr.media_id) AND NOT EXISTS (SELECT 1 - FROM groups - WHERE groups.avatar_url = '{media_prefix}' || lmr.media_id) - AND NOT EXISTS - (SELECT 1 FROM room_memberships WHERE room_memberships.avatar_url = '{media_prefix}' || lmr.media_id) AND NOT EXISTS |