summary refs log tree commit diff
path: root/synapse/visibility.py
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-01-21 08:38:36 +0000
committerGitHub <noreply@github.com>2022-01-21 08:38:36 +0000
commit4c2096599c9780290703e14df63963e77d058dda (patch)
tree3dfd85174b46639a2dc7675c9ae53ce63096e2e2 /synapse/visibility.py
parentMake `get_account_data_for_room_and_type` a tree cache (#11789) (diff)
downloadsynapse-4c2096599c9780290703e14df63963e77d058dda.tar.xz
Make the `get_global_account_data_by_type_for_user` cache be a tree-cache whose key is prefixed with the user ID (#11788)
Diffstat (limited to 'synapse/visibility.py')
-rw-r--r--synapse/visibility.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/visibility.py b/synapse/visibility.py
index 17532059e9..1b970ce479 100644
--- a/synapse/visibility.py
+++ b/synapse/visibility.py
@@ -87,7 +87,7 @@ async def filter_events_for_client(
     )
 
     ignore_dict_content = await storage.main.get_global_account_data_by_type_for_user(
-        AccountDataTypes.IGNORED_USER_LIST, user_id
+        user_id, AccountDataTypes.IGNORED_USER_LIST
     )
 
     ignore_list: FrozenSet[str] = frozenset()