diff options
author | Erik Johnston <erik@matrix.org> | 2018-08-17 11:37:42 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-17 11:37:42 +0100 |
commit | 38f708a2bbee13ebd34f1595910dd0e4fd532818 (patch) | |
tree | c70df78d6c55b2b1ce58ea0b9ba0dd9100db832d /synapse/storage | |
parent | Docstrings (diff) | |
download | synapse-38f708a2bbee13ebd34f1595910dd0e4fd532818.tar.xz |
Remote profile cache should remain in master worker
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/profile.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py index 246ab836bd..88b50f33b5 100644 --- a/synapse/storage/profile.py +++ b/synapse/storage/profile.py @@ -94,6 +94,8 @@ class ProfileWorkerStore(SQLBaseStore): desc="set_profile_avatar_url", ) + +class ProfileStore(ProfileWorkerStore): def add_remote_profile_cache(self, user_id, displayname, avatar_url): """Ensure we are caching the remote user's profiles. @@ -180,7 +182,3 @@ class ProfileWorkerStore(SQLBaseStore): if res: defer.returnValue(True) - - -class ProfileStore(ProfileWorkerStore): - pass |