mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 05:24:55 -04:00
Make the get_global_account_data_by_type_for_user
cache be a tree-cache whose key is prefixed with the user ID (#11788)
This commit is contained in:
parent
e83520cc42
commit
4c2096599c
6 changed files with 10 additions and 9 deletions
|
@ -66,7 +66,7 @@ class AccountDataServlet(RestServlet):
|
|||
raise AuthError(403, "Cannot get account data for other users.")
|
||||
|
||||
event = await self.store.get_global_account_data_by_type_for_user(
|
||||
account_data_type, user_id
|
||||
user_id, account_data_type
|
||||
)
|
||||
|
||||
if event is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue