summary refs log tree commit diff
path: root/synapse/storage/profile.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-08-22 11:35:55 +0100
committerGitHub <noreply@github.com>2018-08-22 11:35:55 +0100
commit764030cf632a21b857b52fb61fad04f3d23f22c0 (patch)
tree3d829ed43131171127616eaa332a3ef95632eabe /synapse/storage/profile.py
parentMerge pull request #3673 from matrix-org/erikj/refactor_state_handler (diff)
parentRename WorkerProfileHandler to BaseProfileHandler (diff)
downloadsynapse-764030cf632a21b857b52fb61fad04f3d23f22c0.tar.xz
Merge pull request #3659 from matrix-org/erikj/split_profiles
Allow profile updates to happen on workers
Diffstat (limited to 'synapse/storage/profile.py')
-rw-r--r--synapse/storage/profile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py
index 60295da254..88b50f33b5 100644
--- a/synapse/storage/profile.py
+++ b/synapse/storage/profile.py
@@ -71,8 +71,6 @@ class ProfileWorkerStore(SQLBaseStore):
             desc="get_from_remote_profile_cache",
         )
 
-
-class ProfileStore(ProfileWorkerStore):
     def create_profile(self, user_localpart):
         return self._simple_insert(
             table="profiles",
@@ -96,6 +94,8 @@ class ProfileStore(ProfileWorkerStore):
             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.