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

Commit

Permalink
Stop checking groups tables in the media repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Jun 1, 2022
1 parent d9ff15c commit 674c968
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions synapse/storage/databases/main/media_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ async def get_local_media_before(
(SELECT 1
FROM profiles
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
Expand Down

0 comments on commit 674c968

Please sign in to comment.